18 references to GetVisualRoot
PresentationFramework (18)
System\Windows\Controls\Primitives\Selector.cs (1)
1320UIElement root = KeyboardNavigation.GetVisualRoot(this) as UIElement;
System\Windows\Controls\RadioButton.cs (2)
137Visual rootScope = KeyboardNavigation.GetVisualRoot(this); 156if (rb != this && (rb.IsChecked == true) && rootScope == KeyboardNavigation.GetVisualRoot(rb))
System\Windows\Controls\ScrollViewer.cs (3)
1019Visual baseRoot = KeyboardNavigation.GetVisualRoot(scp); 1020Visual elementRoot = KeyboardNavigation.GetVisualRoot(element); 1043elementRoot = KeyboardNavigation.GetVisualRoot(element);
System\Windows\Controls\TreeView.cs (1)
758UIElement root = KeyboardNavigation.GetVisualRoot(this) as UIElement;
System\Windows\Input\KeyboardNavigation.cs (11)
96if (GetVisualRoot(activeElement) == GetVisualRoot(d)) 119if (GetVisualRoot(activeElement) == GetVisualRoot(d)) 158return GetVisualRoot(fce.Parent); 916Visual visualRoot = GetVisualRoot(focusTarget); 1032Visual visualRoot = GetVisualRoot(currentElement); 1248Visual rootVisual = GetVisualRoot(visual); 2373Visual rootVisual = GetVisualRoot(uiElement); 2406Visual rootVisual = GetVisualRoot(parent); 2433Visual rootVisual = GetVisualRoot(uiElement3D);