15 references to FindVisualParent
PresentationFramework (15)
System\Windows\Controls\DataGrid.cs (11)
1908
_internalScrollContentPresenter = DataGridHelper.
FindVisualParent
<ScrollContentPresenter>(_internalItemsHost);
1913
_internalScrollContentPresenter = DataGridHelper.
FindVisualParent
<ScrollContentPresenter>(row);
1925
_internalScrollHost = DataGridHelper.
FindVisualParent
<ScrollViewer>(_internalItemsHost);
1930
_internalScrollHost = DataGridHelper.
FindVisualParent
<ScrollViewer>(row);
2296
return ((source == this) || (source == null)) ? CurrentCellContainer : DataGridHelper.
FindVisualParent
<DataGridCell>(source);
5625
GroupItem currentGroupItem = DataGridHelper.
FindVisualParent
<GroupItem>(currentCellContainer);
5887
DataGridRow focusRow = DataGridHelper.
FindVisualParent
<DataGridRow>(focusContainer);
6186
startingRow = DataGridHelper.
FindVisualParent
<DataGridRow>(startingElement);
6204
targetRowElement = DataGridHelper.
FindVisualParent
<DataGridRow>(targetElement);
6614
row = DataGridHelper.
FindVisualParent
<DataGridRow>(element);
6635
cell = DataGridHelper.
FindVisualParent
<DataGridCell>(element);
System\Windows\Controls\DataGridCell.cs (2)
551
DataGridCell cell = DataGridHelper.
FindVisualParent
<DataGridCell>(e.OriginalSource as UIElement);
564
DataGridCell cell = DataGridHelper.
FindVisualParent
<DataGridCell>(e.OriginalSource as UIElement);
System\Windows\Controls\DataGridRow.cs (1)
1332
return DataGridHelper.
FindVisualParent
<DataGridRow>(element);
System\Windows\Controls\Primitives\SelectiveScrollingGrid.cs (1)
56
ScrollViewer scrollViewer = DataGridHelper.
FindVisualParent
<ScrollViewer>(element);