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