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); 2299return ((source == this) || (source == null)) ? CurrentCellContainer : DataGridHelper.FindVisualParent<DataGridCell>(source); 5628GroupItem currentGroupItem = DataGridHelper.FindVisualParent<GroupItem>(currentCellContainer); 5890DataGridRow focusRow = DataGridHelper.FindVisualParent<DataGridRow>(focusContainer); 6189startingRow = DataGridHelper.FindVisualParent<DataGridRow>(startingElement); 6207targetRowElement = DataGridHelper.FindVisualParent<DataGridRow>(targetElement); 6617row = DataGridHelper.FindVisualParent<DataGridRow>(element); 6638cell = DataGridHelper.FindVisualParent<DataGridCell>(element);
System\Windows\Controls\DataGridCell.cs (2)
558DataGridCell cell = DataGridHelper.FindVisualParent<DataGridCell>(e.OriginalSource as UIElement); 571DataGridCell cell = DataGridHelper.FindVisualParent<DataGridCell>(e.OriginalSource as UIElement);
System\Windows\Controls\DataGridRow.cs (1)
1336return DataGridHelper.FindVisualParent<DataGridRow>(element);
System\Windows\Controls\Primitives\SelectiveScrollingGrid.cs (1)
59ScrollViewer scrollViewer = DataGridHelper.FindVisualParent<ScrollViewer>(element);