2 writes to DataGridOwner
PresentationFramework (2)
System\Windows\Controls\DataGrid.cs (2)
289column.DataGridOwner = null; 300column.DataGridOwner = this;
55 references to DataGridOwner
PresentationFramework (55)
System\Windows\Automation\Peers\DataGridCellItemAutomationPeer.cs (1)
840return _column.DataGridOwner;
System\Windows\Automation\Peers\DataGridColumnHeaderItemAutomationPeer.cs (1)
228return Column.DataGridOwner;
System\Windows\Controls\DataGrid.cs (6)
287if (column.DataGridOwner == this) 295if (column.DataGridOwner != null && column.DataGridOwner != this) 297column.DataGridOwner.Columns.Remove(column); 6842if (column.DataGridOwner != null) 6844DataGridAutomationPeer peer = DataGridAutomationPeer.FromElement(column.DataGridOwner) as DataGridAutomationPeer;
System\Windows\Controls\DataGridCell.cs (1)
989Column.DataGridOwner.PerformSort(Column);
System\Windows\Controls\DataGridColumn.cs (24)
58column.DataGridOwner, 133column.DataGridOwner, 167DataGridOwner, 225DataGrid dataGrid = column.DataGridOwner; 313DataGrid dataGrid = column.DataGridOwner; 352DataGrid dataGrid = column.DataGridOwner; 394column.DataGridOwner, 422column.DataGridOwner, 436column.DataGridOwner, 566DataGridOwner.InternalColumns.RecomputeColumnWidthsOnColumnResize(this, pixelWidth - width.DisplayValue, true); 872DataGrid dataGridOwner = column.DataGridOwner; 883DataGridOwner?.NotifyPropertyChanged(this, propertyName, new DependencyPropertyChangedEventArgs(), DataGridNotificationTarget.RefreshCellContent); 970column.DataGridOwner?.ValidateDisplayIndex(column, (int)baseValue); 1049if (column.DataGridOwner != null) 1052BaseValueSourceInternal parentValueSource = column.DataGridOwner.GetValueSource(DataGrid.CanUserSortColumnsProperty, /*metadata*/ null, out parentPropertyHasModifiers); 1055return column.DataGridOwner.GetValue(DataGrid.CanUserSortColumnsProperty); 1063column.DataGridOwner, 1274DataGrid dataGrid = column.DataGridOwner; 1316column.DataGridOwner, 1342column.DataGridOwner, 1374object cellValue = DataGridOwner.GetCellClipboardValue(item, this); 1410DataGridOwner.SetCellClipboardValue(item, this, cellContent); 1439var owner = DataGridOwner; 1475column.DataGridOwner,
System\Windows\Controls\DataGridColumnCollection.cs (2)
44if (item.DataGridOwner != null) 70if (item.DataGridOwner != null && this[index] != item)
System\Windows\Controls\DataGridHyperlinkColumn.cs (2)
282if (DataGridOwner != null) 284DataGridCell cell = DataGridOwner.CurrentCellContainer;
System\Windows\Controls\DataGridTextColumn.cs (2)
264if (DataGridOwner != null) 266DataGridCell cell = DataGridOwner.CurrentCellContainer;
System\Windows\Controls\Primitives\DataGridColumnHeader.cs (16)
190DataGrid dataGrid = column.DataGridOwner; 294DataGrid dataGrid = header.Column.DataGridOwner; 325DataGrid dataGrid = resizingColumn.DataGridOwner; 342DataGrid dataGrid = header.Column.DataGridOwner; 458if (Column.DataGridOwner != null) 468DataGrid dataGrid = Column.DataGridOwner; 483DataGrid dataGridOwner = Column.DataGridOwner; 504DataGrid dataGrid = Column.DataGridOwner; 522DataGrid dataGrid = Column.DataGridOwner; 535DataGrid dataGrid = Column.DataGridOwner; 551DataGrid dataGrid = Column.DataGridOwner; 675dataGrid = column.DataGridOwner; 755Column.DataGridOwner != null) 757Column.DataGridOwner.PerformSort(Column); 782dataGrid = column.DataGridOwner; 1098DataGrid dataGridOwner = column.DataGridOwner;