1 override of RootVisual
PresentationCore (1)
Core\CSharp\System\Windows\Interop\HwndSource.cs (1)
635public override Visual RootVisual
1 write to RootVisual
PresentationCore (1)
Core\CSharp\MS\Internal\Automation\EventMap.cs (1)
309source.RootVisual = source.RootVisual;
23 references to RootVisual
PresentationCore (12)
Core\CSharp\MS\Internal\Automation\EventMap.cs (1)
309source.RootVisual = source.RootVisual;
Core\CSharp\System\Windows\Input\ManipulationLogic.cs (1)
633_root = presentationSource.RootVisual as UIElement;
Core\CSharp\System\Windows\Input\MouseDevice.cs (5)
662if (relativePresentationSource == null || relativePresentationSource.RootVisual == null) 680ptRelative = InputElement.TranslatePoint(ptRoot, relativePresentationSource.RootVisual, (DependencyObject)relativeTo); 1581Point ptRelativeToOver = InputElement.TranslatePoint(ptRoot, rawMouseInputReport.InputSource.RootVisual, (DependencyObject)_mouseOver, out mouseOverAvailable); 1759ptRelativeToOver = InputElement.TranslatePoint(ptRoot, rawMouseInputReport.InputSource.RootVisual, (DependencyObject)mouseOver); 2259UIElement root = inputSource.RootVisual as UIElement;
Core\CSharp\System\Windows\Media\Visual.cs (2)
4795GeneralTransform gUp = this.TransformToAncestor(inputSource.RootVisual); 4828GeneralTransform gDown = inputSource.RootVisual.TransformToDescendant(this);
Shared\MS\Internal\PointUtil.cs (3)
57point = TryApplyVisualTransform(point, presentationSource.RootVisual, true, throwOnError, out success); 82point = ApplyVisualTransform(point, presentationSource.RootVisual, false); 251GeneralTransform transformElementToRoot = element.TransformToAncestor(presentationSource.RootVisual);
PresentationFramework (10)
src\Framework\System\Windows\Controls\PopupControlService.cs (1)
86UIElement rootAsUIElement = source != null ? source.RootVisual as UIElement : null;
src\Framework\System\Windows\Controls\TextAdaptor.cs (2)
386GeneralTransform transform = visual.TransformToAncestor(presentationSource.RootVisual); 428GeneralTransform transform = visual.TransformToAncestor(presentationSource.RootVisual);
src\Framework\System\Windows\Controls\WebBrowser.cs (1)
1040if (pSource != null && pSource.RootVisual is PopupRoot)
src\Framework\System\windows\Documents\CaretElement.cs (1)
1105GeneralTransform transform = _caretElement.TransformToAncestor(source.RootVisual);
src\Framework\System\Windows\Documents\TextStore.cs (1)
2740Visual root = source.RootVisual;
src\Framework\System\Windows\Input\KeyboardNavigation.cs (2)
174return source.RootVisual; 3519Visual root = source.RootVisual;
src\Framework\System\Windows\SystemResources.cs (1)
1315FrameworkElement fe = source.RootVisual as FrameworkElement;
src\Shared\MS\Internal\SafeSecurityHelper.cs (1)
140transform = relativeTo.TransformToAncestor(source.RootVisual);
System.Activities.Presentation (1)
System.Activities.Presentation\System\Activities\Presentation\View\ViewUtilities.cs (1)
250root = source.RootVisual;