2 writes to DataGridOwner
PresentationFramework (2)
System\Windows\Controls\DataGrid.cs (2)
289column.DataGridOwner = null; 300column.DataGridOwner = this;
57 references to DataGridOwner
PresentationFramework (57)
System\Windows\Automation\Peers\DataGridCellItemAutomationPeer.cs (1)
843return _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); 6883if (column.DataGridOwner != null) 6885DataGridAutomationPeer peer = DataGridAutomationPeer.FromElement(column.DataGridOwner) as DataGridAutomationPeer;
System\Windows\Controls\DataGridCell.cs (1)
1000Column.DataGridOwner.PerformSort(Column);
System\Windows\Controls\DataGridColumn.cs (26)
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; 886if (DataGridOwner != null) 888DataGridOwner.NotifyPropertyChanged(this, propertyName, new DependencyPropertyChangedEventArgs(), DataGridNotificationTarget.RefreshCellContent); 976if (column.DataGridOwner != null) 978column.DataGridOwner.ValidateDisplayIndex(column, (int)baseValue); 1058if (column.DataGridOwner != null) 1061BaseValueSourceInternal parentValueSource = column.DataGridOwner.GetValueSource(DataGrid.CanUserSortColumnsProperty, /*metadata*/ null, out parentPropertyHasModifiers); 1064return column.DataGridOwner.GetValue(DataGrid.CanUserSortColumnsProperty); 1072column.DataGridOwner, 1281DataGrid dataGrid = column.DataGridOwner; 1323column.DataGridOwner, 1349column.DataGridOwner, 1381object cellValue = DataGridOwner.GetCellClipboardValue(item, this); 1417DataGridOwner.SetCellClipboardValue(item, this, cellContent); 1446var owner = DataGridOwner; 1482column.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; 297DataGrid dataGrid = header.Column.DataGridOwner; 331DataGrid dataGrid = resizingColumn.DataGridOwner; 348DataGrid dataGrid = header.Column.DataGridOwner; 467if (Column.DataGridOwner != null) 477DataGrid dataGrid = Column.DataGridOwner; 492DataGrid dataGridOwner = Column.DataGridOwner; 513DataGrid dataGrid = Column.DataGridOwner; 531DataGrid dataGrid = Column.DataGridOwner; 544DataGrid dataGrid = Column.DataGridOwner; 563DataGrid dataGrid = Column.DataGridOwner; 687dataGrid = column.DataGridOwner; 770Column.DataGridOwner != null) 772Column.DataGridOwner.PerformSort(Column); 797dataGrid = column.DataGridOwner; 1113DataGrid dataGridOwner = column.DataGridOwner;