15 references to FindVisualParent
PresentationFramework (15)
System\Windows\Controls\DataGrid.cs (11)
1900_internalScrollContentPresenter = DataGridHelper.FindVisualParent<ScrollContentPresenter>(_internalItemsHost); 1905_internalScrollContentPresenter = DataGridHelper.FindVisualParent<ScrollContentPresenter>(row); 1917_internalScrollHost = DataGridHelper.FindVisualParent<ScrollViewer>(_internalItemsHost); 1922_internalScrollHost = DataGridHelper.FindVisualParent<ScrollViewer>(row); 2287return ((source == this) || (source == null)) ? CurrentCellContainer : DataGridHelper.FindVisualParent<DataGridCell>(source); 5586GroupItem currentGroupItem = DataGridHelper.FindVisualParent<GroupItem>(currentCellContainer); 5848DataGridRow focusRow = DataGridHelper.FindVisualParent<DataGridRow>(focusContainer); 6144startingRow = DataGridHelper.FindVisualParent<DataGridRow>(startingElement); 6162targetRowElement = DataGridHelper.FindVisualParent<DataGridRow>(targetElement); 6572row = DataGridHelper.FindVisualParent<DataGridRow>(element); 6593cell = DataGridHelper.FindVisualParent<DataGridCell>(element);
System\Windows\Controls\DataGridCell.cs (2)
547DataGridCell cell = DataGridHelper.FindVisualParent<DataGridCell>(e.OriginalSource as UIElement); 560DataGridCell cell = DataGridHelper.FindVisualParent<DataGridCell>(e.OriginalSource as UIElement);
System\Windows\Controls\DataGridRow.cs (1)
1300return DataGridHelper.FindVisualParent<DataGridRow>(element);
System\Windows\Controls\Primitives\SelectiveScrollingGrid.cs (1)
55ScrollViewer scrollViewer = DataGridHelper.FindVisualParent<ScrollViewer>(element);