15 references to FindVisualParent
PresentationFramework (15)
src\Framework\System\Windows\Controls\DataGrid.cs (11)
1915
_internalScrollContentPresenter = DataGridHelper.
FindVisualParent
<ScrollContentPresenter>(_internalItemsHost);
1920
_internalScrollContentPresenter = DataGridHelper.
FindVisualParent
<ScrollContentPresenter>(row);
1932
_internalScrollHost = DataGridHelper.
FindVisualParent
<ScrollViewer>(_internalItemsHost);
1937
_internalScrollHost = DataGridHelper.
FindVisualParent
<ScrollViewer>(row);
2304
return ((source == this) || (source == null)) ? CurrentCellContainer : DataGridHelper.
FindVisualParent
<DataGridCell>(source);
5633
GroupItem currentGroupItem = DataGridHelper.
FindVisualParent
<GroupItem>(currentCellContainer);
5895
DataGridRow focusRow = DataGridHelper.
FindVisualParent
<DataGridRow>(focusContainer);
6194
startingRow = DataGridHelper.
FindVisualParent
<DataGridRow>(startingElement);
6212
targetRowElement = DataGridHelper.
FindVisualParent
<DataGridRow>(targetElement);
6622
row = DataGridHelper.
FindVisualParent
<DataGridRow>(element);
6643
cell = DataGridHelper.
FindVisualParent
<DataGridCell>(element);
src\Framework\System\Windows\Controls\DataGridCell.cs (2)
553
DataGridCell cell = DataGridHelper.
FindVisualParent
<DataGridCell>(e.OriginalSource as UIElement);
566
DataGridCell cell = DataGridHelper.
FindVisualParent
<DataGridCell>(e.OriginalSource as UIElement);
src\Framework\System\Windows\Controls\DataGridRow.cs (1)
1337
return DataGridHelper.
FindVisualParent
<DataGridRow>(element);
src\Framework\System\Windows\Controls\Primitives\SelectiveScrollingGrid.cs (1)
60
ScrollViewer scrollViewer = DataGridHelper.
FindVisualParent
<ScrollViewer>(element);