132 references to DataGridNotificationTarget
PresentationFramework (132)
System\Windows\Controls\DataGrid.cs (36)
196
((DataGrid)d).NotifyPropertyChanged(d, e,
DataGridNotificationTarget
.Columns);
469
((DataGrid)d).NotifyPropertyChanged(d, e,
DataGridNotificationTarget
.CellsPresenter);
477
((DataGrid)d).NotifyPropertyChanged(d, e,
DataGridNotificationTarget
.Columns |
DataGridNotificationTarget
.Cells);
485
((DataGrid)d).NotifyPropertyChanged(d, e,
DataGridNotificationTarget
.Columns);
493
((DataGrid)d).NotifyPropertyChanged(d, e,
DataGridNotificationTarget
.Columns |
DataGridNotificationTarget
.ColumnHeaders);
501
((DataGrid)d).NotifyPropertyChanged(d, e,
DataGridNotificationTarget
.ColumnHeaders);
509
((DataGrid)d).NotifyPropertyChanged(d, e,
DataGridNotificationTarget
.ColumnHeaders |
DataGridNotificationTarget
.RowHeaders);
517
((DataGrid)d).NotifyPropertyChanged(d, e,
DataGridNotificationTarget
.Rows |
DataGridNotificationTarget
.DataGrid);
542
((DataGrid)d).NotifyPropertyChanged(d, e,
DataGridNotificationTarget
.Rows);
550
((DataGrid)d).NotifyPropertyChanged(d, e,
DataGridNotificationTarget
.RowHeaders);
558
((DataGrid)d).NotifyPropertyChanged(d, e,
DataGridNotificationTarget
.Rows |
DataGridNotificationTarget
.RowHeaders);
566
((DataGrid)d).NotifyPropertyChanged(d, e,
DataGridNotificationTarget
.Rows |
DataGridNotificationTarget
.DetailsPresenter);
574
((DataGrid)d).NotifyPropertyChanged(d, e,
DataGridNotificationTarget
.ColumnCollection |
DataGridNotificationTarget
.CellsPresenter |
DataGridNotificationTarget
.ColumnHeadersPresenter);
586
internal void NotifyPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e,
DataGridNotificationTarget
target)
600
internal void NotifyPropertyChanged(DependencyObject d, string propertyName, DependencyPropertyChangedEventArgs e,
DataGridNotificationTarget
target)
2000
DataGridNotificationTarget
.CellsPresenter |
DataGridNotificationTarget
.ColumnHeadersPresenter |
DataGridNotificationTarget
.ColumnCollection);
5385
((DataGrid)d).NotifyPropertyChanged(d, e,
DataGridNotificationTarget
.Rows |
DataGridNotificationTarget
.RowHeaders |
DataGridNotificationTarget
.Cells);
7935
((DataGrid)d).NotifyPropertyChanged(d, e,
DataGridNotificationTarget
.ColumnCollection |
DataGridNotificationTarget
.ColumnHeadersPresenter |
DataGridNotificationTarget
.CellsPresenter);
8073
((DataGrid)d).NotifyPropertyChanged(d, e,
DataGridNotificationTarget
.CellsPresenter |
DataGridNotificationTarget
.ColumnHeadersPresenter |
DataGridNotificationTarget
.ColumnCollection);
8407
((DataGrid)d).NotifyPropertyChanged(d, e,
DataGridNotificationTarget
.ColumnHeadersPresenter);
System\Windows\Controls\DataGridCell.cs (3)
209
((DataGridCell)d).NotifyPropertyChanged(d, string.Empty, e,
DataGridNotificationTarget
.Cells);
227
cell.NotifyPropertyChanged(d, string.Empty, e,
DataGridNotificationTarget
.Cells);
233
internal void NotifyPropertyChanged(DependencyObject d, string propertyName, DependencyPropertyChangedEventArgs e,
DataGridNotificationTarget
target)
System\Windows\Controls\DataGridColumn.cs (33)
254
DataGridNotificationTarget
.ColumnCollection |
255
DataGridNotificationTarget
.Columns |
256
DataGridNotificationTarget
.Cells |
257
DataGridNotificationTarget
.ColumnHeaders |
258
DataGridNotificationTarget
.CellsPresenter |
259
DataGridNotificationTarget
.ColumnHeadersPresenter |
260
DataGridNotificationTarget
.DataGrid);
314
column.NotifyPropertyChanged(d, e,
DataGridNotificationTarget
.Columns);
353
column.NotifyPropertyChanged(d, e,
DataGridNotificationTarget
.Columns);
785
((DataGridColumn)d).NotifyPropertyChanged(d, e,
DataGridNotificationTarget
.Columns |
DataGridNotificationTarget
.Cells);
793
((DataGridColumn)d).NotifyPropertyChanged(d, e,
DataGridNotificationTarget
.Columns |
DataGridNotificationTarget
.ColumnHeaders);
801
((DataGridColumn)d).NotifyPropertyChanged(d, e,
DataGridNotificationTarget
.Columns);
807
internal void NotifyPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e,
DataGridNotificationTarget
target)
813
target &= ~
DataGridNotificationTarget
.Columns;
866
if (target !=
DataGridNotificationTarget
.None)
882
DataGridOwner?.NotifyPropertyChanged(this, propertyName, new DependencyPropertyChangedEventArgs(),
DataGridNotificationTarget
.RefreshCellContent);
983
DataGridNotificationTarget
.DataGrid |
984
DataGridNotificationTarget
.Columns |
985
DataGridNotificationTarget
.ColumnCollection |
986
DataGridNotificationTarget
.Cells |
987
DataGridNotificationTarget
.ColumnHeaders |
988
DataGridNotificationTarget
.CellsPresenter |
989
DataGridNotificationTarget
.ColumnHeadersPresenter);
1079
((DataGridColumn)d).NotifyPropertyChanged(d, e,
DataGridNotificationTarget
.ColumnHeaders);
1109
((DataGridColumn)d).NotifyPropertyChanged(d, e,
DataGridNotificationTarget
.ColumnHeaders);
1260
((DataGridColumn)d).NotifyPropertyChanged(d, e,
DataGridNotificationTarget
.ColumnHeaders);
1527
DataGridNotificationTarget
.CellsPresenter |
DataGridNotificationTarget
.ColumnHeadersPresenter |
DataGridNotificationTarget
.ColumnCollection |
DataGridNotificationTarget
.DataGrid |
DataGridNotificationTarget
.ColumnHeaders);
System\Windows\Controls\DataGridColumnCollection.cs (8)
160
internal void NotifyPropertyChanged(DependencyObject d, string propertyName, DependencyPropertyChangedEventArgs e,
DataGridNotificationTarget
target)
212
this[i].NotifyPropertyChanged(d, e,
DataGridNotificationTarget
.Columns);
1134
DataGridNotificationTarget
.CellsPresenter |
DataGridNotificationTarget
.ColumnHeadersPresenter);
2408
DataGridNotificationTarget
.CellsPresenter |
DataGridNotificationTarget
.ColumnHeadersPresenter);
2451
DataGridNotificationTarget
.CellsPresenter |
DataGridNotificationTarget
.ColumnHeadersPresenter);
System\Windows\Controls\DataGridHelper.cs (32)
69
public static bool ShouldNotifyCells(
DataGridNotificationTarget
target)
71
return TestTarget(target,
DataGridNotificationTarget
.Cells);
74
public static bool ShouldNotifyCellsPresenter(
DataGridNotificationTarget
target)
76
return TestTarget(target,
DataGridNotificationTarget
.CellsPresenter);
79
public static bool ShouldNotifyColumns(
DataGridNotificationTarget
target)
81
return TestTarget(target,
DataGridNotificationTarget
.Columns);
84
public static bool ShouldNotifyColumnHeaders(
DataGridNotificationTarget
target)
86
return TestTarget(target,
DataGridNotificationTarget
.ColumnHeaders);
89
public static bool ShouldNotifyColumnHeadersPresenter(
DataGridNotificationTarget
target)
91
return TestTarget(target,
DataGridNotificationTarget
.ColumnHeadersPresenter);
94
public static bool ShouldNotifyColumnCollection(
DataGridNotificationTarget
target)
96
return TestTarget(target,
DataGridNotificationTarget
.ColumnCollection);
99
public static bool ShouldNotifyDataGrid(
DataGridNotificationTarget
target)
101
return TestTarget(target,
DataGridNotificationTarget
.DataGrid);
104
public static bool ShouldNotifyDetailsPresenter(
DataGridNotificationTarget
target)
106
return TestTarget(target,
DataGridNotificationTarget
.DetailsPresenter);
109
public static bool ShouldRefreshCellContent(
DataGridNotificationTarget
target)
111
return TestTarget(target,
DataGridNotificationTarget
.RefreshCellContent);
114
public static bool ShouldNotifyRowHeaders(
DataGridNotificationTarget
target)
116
return TestTarget(target,
DataGridNotificationTarget
.RowHeaders);
119
public static bool ShouldNotifyRows(
DataGridNotificationTarget
target)
121
return TestTarget(target,
DataGridNotificationTarget
.Rows);
124
public static bool ShouldNotifyRowSubtree(
DataGridNotificationTarget
target)
126
DataGridNotificationTarget
value =
127
DataGridNotificationTarget
.Rows |
128
DataGridNotificationTarget
.RowHeaders |
129
DataGridNotificationTarget
.CellsPresenter |
130
DataGridNotificationTarget
.Cells |
131
DataGridNotificationTarget
.RefreshCellContent |
132
DataGridNotificationTarget
.DetailsPresenter;
137
private static bool TestTarget(
DataGridNotificationTarget
target,
DataGridNotificationTarget
value)
System\Windows\Controls\DataGridRow.cs (14)
422
NotifyPropertyChanged(this, e,
DataGridNotificationTarget
.Rows);
772
(d as DataGridRow).NotifyPropertyChanged(d, e,
DataGridNotificationTarget
.Rows);
777
(d as DataGridRow).NotifyPropertyChanged(d, e,
DataGridNotificationTarget
.Rows |
DataGridNotificationTarget
.RowHeaders);
783
row.NotifyPropertyChanged(row, e,
DataGridNotificationTarget
.Rows |
DataGridNotificationTarget
.DetailsPresenter);
805
row.NotifyPropertyChanged(d, e,
DataGridNotificationTarget
.Rows |
DataGridNotificationTarget
.DetailsPresenter);
855
internal void NotifyPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e,
DataGridNotificationTarget
target)
863
internal void NotifyPropertyChanged(DependencyObject d, string propertyName, DependencyPropertyChangedEventArgs e,
DataGridNotificationTarget
target)
1078
row.NotifyPropertyChanged(row, e,
DataGridNotificationTarget
.Rows |
DataGridNotificationTarget
.RowHeaders);
1088
row.NotifyPropertyChanged(row, e,
DataGridNotificationTarget
.Rows |
DataGridNotificationTarget
.RowHeaders);
System\Windows\Controls\Primitives\DataGridCellsPresenter.cs (4)
108
NotifyPropertyChanged(this, new DependencyPropertyChangedEventArgs(DataGrid.CellStyleProperty, null, null),
DataGridNotificationTarget
.Cells);
359
((DataGridCellsPresenter)d).NotifyPropertyChanged(d, e,
DataGridNotificationTarget
.CellsPresenter);
365
internal void NotifyPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e,
DataGridNotificationTarget
target)
373
internal void NotifyPropertyChanged(DependencyObject d, string propertyName, DependencyPropertyChangedEventArgs e,
DataGridNotificationTarget
target)
System\Windows\Controls\Primitives\DataGridColumnHeadersPresenter.cs (2)
275
internal void NotifyPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e,
DataGridNotificationTarget
target)
283
internal void NotifyPropertyChanged(DependencyObject d, string propertyName, DependencyPropertyChangedEventArgs e,
DataGridNotificationTarget
target)