15 references to FindVisualParent
PresentationFramework (15)
System\Windows\Controls\DataGrid.cs (11)
1911
_internalScrollContentPresenter = DataGridHelper.
FindVisualParent
<ScrollContentPresenter>(_internalItemsHost);
1916
_internalScrollContentPresenter = DataGridHelper.
FindVisualParent
<ScrollContentPresenter>(row);
1928
_internalScrollHost = DataGridHelper.
FindVisualParent
<ScrollViewer>(_internalItemsHost);
1933
_internalScrollHost = DataGridHelper.
FindVisualParent
<ScrollViewer>(row);
2299
return ((source == this) || (source == null)) ? CurrentCellContainer : DataGridHelper.
FindVisualParent
<DataGridCell>(source);
5628
GroupItem currentGroupItem = DataGridHelper.
FindVisualParent
<GroupItem>(currentCellContainer);
5890
DataGridRow focusRow = DataGridHelper.
FindVisualParent
<DataGridRow>(focusContainer);
6189
startingRow = DataGridHelper.
FindVisualParent
<DataGridRow>(startingElement);
6207
targetRowElement = DataGridHelper.
FindVisualParent
<DataGridRow>(targetElement);
6617
row = DataGridHelper.
FindVisualParent
<DataGridRow>(element);
6638
cell = DataGridHelper.
FindVisualParent
<DataGridCell>(element);
System\Windows\Controls\DataGridCell.cs (2)
558
DataGridCell cell = DataGridHelper.
FindVisualParent
<DataGridCell>(e.OriginalSource as UIElement);
571
DataGridCell cell = DataGridHelper.
FindVisualParent
<DataGridCell>(e.OriginalSource as UIElement);
System\Windows\Controls\DataGridRow.cs (1)
1336
return DataGridHelper.
FindVisualParent
<DataGridRow>(element);
System\Windows\Controls\Primitives\SelectiveScrollingGrid.cs (1)
59
ScrollViewer scrollViewer = DataGridHelper.
FindVisualParent
<ScrollViewer>(element);