18 references to GetVisualRoot
PresentationFramework (18)
src\Framework\System\Windows\Controls\Primitives\Selector.cs (1)
1347
UIElement root = KeyboardNavigation.
GetVisualRoot
(this) as UIElement;
src\Framework\System\Windows\Controls\RadioButton.cs (2)
141
Visual rootScope = KeyboardNavigation.
GetVisualRoot
(this);
160
if (rb != this && (rb.IsChecked == true) && rootScope == KeyboardNavigation.
GetVisualRoot
(rb))
src\Framework\System\Windows\Controls\ScrollViewer.cs (3)
1054
Visual baseRoot = KeyboardNavigation.
GetVisualRoot
(scp);
1055
Visual elementRoot = KeyboardNavigation.
GetVisualRoot
(element);
1078
elementRoot = KeyboardNavigation.
GetVisualRoot
(element);
src\Framework\System\Windows\Controls\TreeView.cs (1)
765
UIElement root = KeyboardNavigation.
GetVisualRoot
(this) as UIElement;
src\Framework\System\Windows\Input\KeyboardNavigation.cs (11)
113
if (
GetVisualRoot
(activeElement) ==
GetVisualRoot
(d))
136
if (
GetVisualRoot
(activeElement) ==
GetVisualRoot
(d))
180
return
GetVisualRoot
(fce.Parent);
980
Visual visualRoot =
GetVisualRoot
(focusTarget);
1097
Visual visualRoot =
GetVisualRoot
(currentElement);
1343
Visual rootVisual =
GetVisualRoot
(visual);
2470
Visual rootVisual =
GetVisualRoot
(uiElement);
2503
Visual rootVisual =
GetVisualRoot
(parent);
2530
Visual rootVisual =
GetVisualRoot
(uiElement3D);