22 references to ParentDataGrid
PresentationFramework (22)
System\Windows\Automation\Peers\DataGridColumnHeadersPresenterAutomationPeer.cs (1)
276
return ((DataGridColumnHeadersPresenter)Owner).
ParentDataGrid
;
System\Windows\Controls\DataGridCellsPanel.cs (1)
2428
_parentDataGrid = headersPresenter.
ParentDataGrid
;
System\Windows\Controls\Primitives\DataGridColumnHeader.cs (2)
687
dataGrid = presenter.
ParentDataGrid
;
797
dataGrid = presenter.
ParentDataGrid
;
System\Windows\Controls\Primitives\DataGridColumnHeadersPresenter.cs (18)
72
DataGrid grid =
ParentDataGrid
;
150
DataGrid dataGrid =
ParentDataGrid
;
394
headersPresenter.
ParentDataGrid
,
497
if (
ParentDataGrid
== null)
521
if (
ParentDataGrid
.CanUserReorderColumns && column.CanUserReorder)
575
ParentDataGrid
.OnColumnHeaderDragDelta(dragDeltaEventArgs);
674
if (
ParentDataGrid
!= null)
676
frozenCount =
ParentDataGrid
.FrozenColumnCount;
710
Debug.Assert(
ParentDataGrid
!= null, "ParentDataGrid is null");
714
ParentDataGrid
.OnColumnHeaderDragStarted(dragStartedEventArgs);
723
ParentDataGrid
.OnColumnReordering(reorderingEventArgs);
803
if (
ParentDataGrid
!= null)
805
style =
ParentDataGrid
.DropLocationIndicatorStyle;
818
Debug.Assert(
ParentDataGrid
!= null, "ParentDataGrid is null");
853
ParentDataGrid
.OnColumnHeaderDragCompleted(dragCompletedEventArgs);
869
ParentDataGrid
.OnColumnReordered(columnEventArgs);
934
Debug.Assert(
ParentDataGrid
!= null, "ParentDataGrid is null");
954
DataGrid dataGrid =
ParentDataGrid
;