15 references to FindVisualParent
PresentationFramework (15)
System\Windows\Controls\DataGrid.cs (11)
1901_internalScrollContentPresenter = DataGridHelper.FindVisualParent<ScrollContentPresenter>(_internalItemsHost); 1906_internalScrollContentPresenter = DataGridHelper.FindVisualParent<ScrollContentPresenter>(row); 1918_internalScrollHost = DataGridHelper.FindVisualParent<ScrollViewer>(_internalItemsHost); 1923_internalScrollHost = DataGridHelper.FindVisualParent<ScrollViewer>(row); 2288return ((source == this) || (source == null)) ? CurrentCellContainer : DataGridHelper.FindVisualParent<DataGridCell>(source); 5587GroupItem currentGroupItem = DataGridHelper.FindVisualParent<GroupItem>(currentCellContainer); 5849DataGridRow focusRow = DataGridHelper.FindVisualParent<DataGridRow>(focusContainer); 6145startingRow = DataGridHelper.FindVisualParent<DataGridRow>(startingElement); 6163targetRowElement = DataGridHelper.FindVisualParent<DataGridRow>(targetElement); 6573row = DataGridHelper.FindVisualParent<DataGridRow>(element); 6594cell = DataGridHelper.FindVisualParent<DataGridCell>(element);
System\Windows\Controls\DataGridCell.cs (2)
548DataGridCell cell = DataGridHelper.FindVisualParent<DataGridCell>(e.OriginalSource as UIElement); 561DataGridCell cell = DataGridHelper.FindVisualParent<DataGridCell>(e.OriginalSource as UIElement);
System\Windows\Controls\DataGridRow.cs (1)
1301return DataGridHelper.FindVisualParent<DataGridRow>(element);
System\Windows\Controls\Primitives\SelectiveScrollingGrid.cs (1)
56ScrollViewer scrollViewer = DataGridHelper.FindVisualParent<ScrollViewer>(element);