18 references to GetVisualRoot
PresentationFramework (18)
System\Windows\Controls\Primitives\Selector.cs (1)
1329UIElement root = KeyboardNavigation.GetVisualRoot(this) as UIElement;
System\Windows\Controls\RadioButton.cs (2)
145Visual rootScope = KeyboardNavigation.GetVisualRoot(this); 164if (rb != this && (rb.IsChecked == true) && rootScope == KeyboardNavigation.GetVisualRoot(rb) && rootScope != null)
System\Windows\Controls\ScrollViewer.cs (3)
1027Visual baseRoot = KeyboardNavigation.GetVisualRoot(scp); 1028Visual elementRoot = KeyboardNavigation.GetVisualRoot(element); 1051elementRoot = KeyboardNavigation.GetVisualRoot(element);
System\Windows\Controls\TreeView.cs (1)
763UIElement root = KeyboardNavigation.GetVisualRoot(this) as UIElement;
System\Windows\Input\KeyboardNavigation.cs (11)
106if (GetVisualRoot(activeElement) == GetVisualRoot(d)) 129if (GetVisualRoot(activeElement) == GetVisualRoot(d)) 168return GetVisualRoot(fce.Parent); 926Visual visualRoot = GetVisualRoot(focusTarget); 1042Visual visualRoot = GetVisualRoot(currentElement); 1258Visual rootVisual = GetVisualRoot(visual); 2383Visual rootVisual = GetVisualRoot(uiElement); 2416Visual rootVisual = GetVisualRoot(parent); 2443Visual rootVisual = GetVisualRoot(uiElement3D);