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); 2304return ((source == this) || (source == null)) ? CurrentCellContainer : DataGridHelper.FindVisualParent<DataGridCell>(source); 5633GroupItem currentGroupItem = DataGridHelper.FindVisualParent<GroupItem>(currentCellContainer); 5895DataGridRow focusRow = DataGridHelper.FindVisualParent<DataGridRow>(focusContainer); 6194startingRow = DataGridHelper.FindVisualParent<DataGridRow>(startingElement); 6212targetRowElement = DataGridHelper.FindVisualParent<DataGridRow>(targetElement); 6622row = DataGridHelper.FindVisualParent<DataGridRow>(element); 6643cell = DataGridHelper.FindVisualParent<DataGridCell>(element);
src\Framework\System\Windows\Controls\DataGridCell.cs (2)
553DataGridCell cell = DataGridHelper.FindVisualParent<DataGridCell>(e.OriginalSource as UIElement); 566DataGridCell cell = DataGridHelper.FindVisualParent<DataGridCell>(e.OriginalSource as UIElement);
src\Framework\System\Windows\Controls\DataGridRow.cs (1)
1337return DataGridHelper.FindVisualParent<DataGridRow>(element);
src\Framework\System\Windows\Controls\Primitives\SelectiveScrollingGrid.cs (1)
60ScrollViewer scrollViewer = DataGridHelper.FindVisualParent<ScrollViewer>(element);