132 references to DataGridNotificationTarget
PresentationFramework (132)
System\Windows\Controls\DataGrid.cs (36)
197
((DataGrid)d).NotifyPropertyChanged(d, e,
DataGridNotificationTarget
.Columns);
470
((DataGrid)d).NotifyPropertyChanged(d, e,
DataGridNotificationTarget
.CellsPresenter);
478
((DataGrid)d).NotifyPropertyChanged(d, e,
DataGridNotificationTarget
.Columns |
DataGridNotificationTarget
.Cells);
486
((DataGrid)d).NotifyPropertyChanged(d, e,
DataGridNotificationTarget
.Columns);
494
((DataGrid)d).NotifyPropertyChanged(d, e,
DataGridNotificationTarget
.Columns |
DataGridNotificationTarget
.ColumnHeaders);
502
((DataGrid)d).NotifyPropertyChanged(d, e,
DataGridNotificationTarget
.ColumnHeaders);
510
((DataGrid)d).NotifyPropertyChanged(d, e,
DataGridNotificationTarget
.ColumnHeaders |
DataGridNotificationTarget
.RowHeaders);
518
((DataGrid)d).NotifyPropertyChanged(d, e,
DataGridNotificationTarget
.Rows |
DataGridNotificationTarget
.DataGrid);
543
((DataGrid)d).NotifyPropertyChanged(d, e,
DataGridNotificationTarget
.Rows);
551
((DataGrid)d).NotifyPropertyChanged(d, e,
DataGridNotificationTarget
.RowHeaders);
559
((DataGrid)d).NotifyPropertyChanged(d, e,
DataGridNotificationTarget
.Rows |
DataGridNotificationTarget
.RowHeaders);
567
((DataGrid)d).NotifyPropertyChanged(d, e,
DataGridNotificationTarget
.Rows |
DataGridNotificationTarget
.DetailsPresenter);
575
((DataGrid)d).NotifyPropertyChanged(d, e,
DataGridNotificationTarget
.ColumnCollection |
DataGridNotificationTarget
.CellsPresenter |
DataGridNotificationTarget
.ColumnHeadersPresenter);
587
internal void NotifyPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e,
DataGridNotificationTarget
target)
601
internal void NotifyPropertyChanged(DependencyObject d, string propertyName, DependencyPropertyChangedEventArgs e,
DataGridNotificationTarget
target)
2006
DataGridNotificationTarget
.CellsPresenter |
DataGridNotificationTarget
.ColumnHeadersPresenter |
DataGridNotificationTarget
.ColumnCollection);
5424
((DataGrid)d).NotifyPropertyChanged(d, e,
DataGridNotificationTarget
.Rows |
DataGridNotificationTarget
.RowHeaders |
DataGridNotificationTarget
.Cells);
7979
((DataGrid)d).NotifyPropertyChanged(d, e,
DataGridNotificationTarget
.ColumnCollection |
DataGridNotificationTarget
.ColumnHeadersPresenter |
DataGridNotificationTarget
.CellsPresenter);
8117
((DataGrid)d).NotifyPropertyChanged(d, e,
DataGridNotificationTarget
.CellsPresenter |
DataGridNotificationTarget
.ColumnHeadersPresenter |
DataGridNotificationTarget
.ColumnCollection);
8451
((DataGrid)d).NotifyPropertyChanged(d, e,
DataGridNotificationTarget
.ColumnHeadersPresenter);
System\Windows\Controls\DataGridCell.cs (3)
213
((DataGridCell)d).NotifyPropertyChanged(d, string.Empty, e,
DataGridNotificationTarget
.Cells);
231
cell.NotifyPropertyChanged(d, string.Empty, e,
DataGridNotificationTarget
.Cells);
237
internal void NotifyPropertyChanged(DependencyObject d, string propertyName, DependencyPropertyChangedEventArgs e,
DataGridNotificationTarget
target)
System\Windows\Controls\DataGridColumn.cs (33)
255
DataGridNotificationTarget
.ColumnCollection |
256
DataGridNotificationTarget
.Columns |
257
DataGridNotificationTarget
.Cells |
258
DataGridNotificationTarget
.ColumnHeaders |
259
DataGridNotificationTarget
.CellsPresenter |
260
DataGridNotificationTarget
.ColumnHeadersPresenter |
261
DataGridNotificationTarget
.DataGrid);
315
column.NotifyPropertyChanged(d, e,
DataGridNotificationTarget
.Columns);
354
column.NotifyPropertyChanged(d, e,
DataGridNotificationTarget
.Columns);
786
((DataGridColumn)d).NotifyPropertyChanged(d, e,
DataGridNotificationTarget
.Columns |
DataGridNotificationTarget
.Cells);
794
((DataGridColumn)d).NotifyPropertyChanged(d, e,
DataGridNotificationTarget
.Columns |
DataGridNotificationTarget
.ColumnHeaders);
802
((DataGridColumn)d).NotifyPropertyChanged(d, e,
DataGridNotificationTarget
.Columns);
808
internal void NotifyPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e,
DataGridNotificationTarget
target)
814
target &= ~
DataGridNotificationTarget
.Columns;
867
if (target !=
DataGridNotificationTarget
.None)
888
DataGridOwner.NotifyPropertyChanged(this, propertyName, new DependencyPropertyChangedEventArgs(),
DataGridNotificationTarget
.RefreshCellContent);
993
DataGridNotificationTarget
.DataGrid |
994
DataGridNotificationTarget
.Columns |
995
DataGridNotificationTarget
.ColumnCollection |
996
DataGridNotificationTarget
.Cells |
997
DataGridNotificationTarget
.ColumnHeaders |
998
DataGridNotificationTarget
.CellsPresenter |
999
DataGridNotificationTarget
.ColumnHeadersPresenter);
1089
((DataGridColumn)d).NotifyPropertyChanged(d, e,
DataGridNotificationTarget
.ColumnHeaders);
1119
((DataGridColumn)d).NotifyPropertyChanged(d, e,
DataGridNotificationTarget
.ColumnHeaders);
1268
((DataGridColumn)d).NotifyPropertyChanged(d, e,
DataGridNotificationTarget
.ColumnHeaders);
1535
DataGridNotificationTarget
.CellsPresenter |
DataGridNotificationTarget
.ColumnHeadersPresenter |
DataGridNotificationTarget
.ColumnCollection |
DataGridNotificationTarget
.DataGrid |
DataGridNotificationTarget
.ColumnHeaders);
System\Windows\Controls\DataGridColumnCollection.cs (8)
161
internal void NotifyPropertyChanged(DependencyObject d, string propertyName, DependencyPropertyChangedEventArgs e,
DataGridNotificationTarget
target)
213
this[i].NotifyPropertyChanged(d, e,
DataGridNotificationTarget
.Columns);
1138
DataGridNotificationTarget
.CellsPresenter |
DataGridNotificationTarget
.ColumnHeadersPresenter);
2412
DataGridNotificationTarget
.CellsPresenter |
DataGridNotificationTarget
.ColumnHeadersPresenter);
2455
DataGridNotificationTarget
.CellsPresenter |
DataGridNotificationTarget
.ColumnHeadersPresenter);
System\Windows\Controls\DataGridHelper.cs (32)
70
public static bool ShouldNotifyCells(
DataGridNotificationTarget
target)
72
return TestTarget(target,
DataGridNotificationTarget
.Cells);
75
public static bool ShouldNotifyCellsPresenter(
DataGridNotificationTarget
target)
77
return TestTarget(target,
DataGridNotificationTarget
.CellsPresenter);
80
public static bool ShouldNotifyColumns(
DataGridNotificationTarget
target)
82
return TestTarget(target,
DataGridNotificationTarget
.Columns);
85
public static bool ShouldNotifyColumnHeaders(
DataGridNotificationTarget
target)
87
return TestTarget(target,
DataGridNotificationTarget
.ColumnHeaders);
90
public static bool ShouldNotifyColumnHeadersPresenter(
DataGridNotificationTarget
target)
92
return TestTarget(target,
DataGridNotificationTarget
.ColumnHeadersPresenter);
95
public static bool ShouldNotifyColumnCollection(
DataGridNotificationTarget
target)
97
return TestTarget(target,
DataGridNotificationTarget
.ColumnCollection);
100
public static bool ShouldNotifyDataGrid(
DataGridNotificationTarget
target)
102
return TestTarget(target,
DataGridNotificationTarget
.DataGrid);
105
public static bool ShouldNotifyDetailsPresenter(
DataGridNotificationTarget
target)
107
return TestTarget(target,
DataGridNotificationTarget
.DetailsPresenter);
110
public static bool ShouldRefreshCellContent(
DataGridNotificationTarget
target)
112
return TestTarget(target,
DataGridNotificationTarget
.RefreshCellContent);
115
public static bool ShouldNotifyRowHeaders(
DataGridNotificationTarget
target)
117
return TestTarget(target,
DataGridNotificationTarget
.RowHeaders);
120
public static bool ShouldNotifyRows(
DataGridNotificationTarget
target)
122
return TestTarget(target,
DataGridNotificationTarget
.Rows);
125
public static bool ShouldNotifyRowSubtree(
DataGridNotificationTarget
target)
127
DataGridNotificationTarget
value =
128
DataGridNotificationTarget
.Rows |
129
DataGridNotificationTarget
.RowHeaders |
130
DataGridNotificationTarget
.CellsPresenter |
131
DataGridNotificationTarget
.Cells |
132
DataGridNotificationTarget
.RefreshCellContent |
133
DataGridNotificationTarget
.DetailsPresenter;
138
private static bool TestTarget(
DataGridNotificationTarget
target,
DataGridNotificationTarget
value)
System\Windows\Controls\DataGridRow.cs (14)
423
NotifyPropertyChanged(this, e,
DataGridNotificationTarget
.Rows);
780
(d as DataGridRow).NotifyPropertyChanged(d, e,
DataGridNotificationTarget
.Rows);
785
(d as DataGridRow).NotifyPropertyChanged(d, e,
DataGridNotificationTarget
.Rows |
DataGridNotificationTarget
.RowHeaders);
791
row.NotifyPropertyChanged(row, e,
DataGridNotificationTarget
.Rows |
DataGridNotificationTarget
.DetailsPresenter);
816
row.NotifyPropertyChanged(d, e,
DataGridNotificationTarget
.Rows |
DataGridNotificationTarget
.DetailsPresenter);
866
internal void NotifyPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e,
DataGridNotificationTarget
target)
874
internal void NotifyPropertyChanged(DependencyObject d, string propertyName, DependencyPropertyChangedEventArgs e,
DataGridNotificationTarget
target)
1104
row.NotifyPropertyChanged(row, e,
DataGridNotificationTarget
.Rows |
DataGridNotificationTarget
.RowHeaders);
1114
row.NotifyPropertyChanged(row, e,
DataGridNotificationTarget
.Rows |
DataGridNotificationTarget
.RowHeaders);
System\Windows\Controls\Primitives\DataGridCellsPresenter.cs (4)
109
NotifyPropertyChanged(this, new DependencyPropertyChangedEventArgs(DataGrid.CellStyleProperty, null, null),
DataGridNotificationTarget
.Cells);
363
((DataGridCellsPresenter)d).NotifyPropertyChanged(d, e,
DataGridNotificationTarget
.CellsPresenter);
369
internal void NotifyPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e,
DataGridNotificationTarget
target)
377
internal void NotifyPropertyChanged(DependencyObject d, string propertyName, DependencyPropertyChangedEventArgs e,
DataGridNotificationTarget
target)
System\Windows\Controls\Primitives\DataGridColumnHeadersPresenter.cs (2)
276
internal void NotifyPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e,
DataGridNotificationTarget
target)
284
internal void NotifyPropertyChanged(DependencyObject d, string propertyName, DependencyPropertyChangedEventArgs e,
DataGridNotificationTarget
target)