Base:
property
RootVisual
System.Windows.PresentationSource.RootVisual
5 writes to RootVisual
PresentationFramework (4)
System\Windows\Controls\Primitives\Popup.cs (2)
3156_window.RootVisual = v; 3472hwnd.RootVisual = null;
System\Windows\Window.cs (2)
7521_sourceWindow.RootVisual = value; 7655_sourceWindow.RootVisual = null;
WindowsFormsIntegration (1)
System\Windows\Integration\ElementHost.cs (1)
584_hwndSource.RootVisual = _decorator;
15 references to RootVisual
PresentationCore (9)
System\Windows\DragDrop.cs (1)
1372targetPoint = InputElement.TranslatePoint(targetPoint, source.RootVisual, target);
System\Windows\InterOp\HwndAppCommandInputProvider.cs (1)
36return _source.RootVisual == v;
System\Windows\InterOp\HwndKeyboardInputProvider.cs (1)
46return _source.RootVisual == v;
System\Windows\InterOp\HwndMouseInputProvider.cs (4)
76return _source.RootVisual == v; 299GeneralTransform gDown = inputSource.RootVisual.TransformToDescendant(VisualTreeHelper.GetContainingVisual2D(containingVisual)); 1061DependencyObject rootVisual = hwndSource.RootVisual; 1127DependencyObject rootVisual = hwndSource?.RootVisual;
System\Windows\InterOp\HwndPointerInputProvider.cs (1)
324Point originScreenCoord = _source.RootVisual.PointToScreen(new Point(0, 0));
System\Windows\InterOp\HwndStylusInputProvider.cs (1)
72bool IInputProvider.ProvidesInputForRootVisual(Visual v) => _source.RootVisual == v;
PresentationFramework (6)
System\Windows\Controls\ComboBox.cs (2)
1945if (source != null && !source.IsDisposed && source.RootVisual != null) 1947return source.RootVisual.IsAncestorOf(itemsHost);
System\Windows\Controls\PopupControlService.cs (1)
1612IInputElement rootElement = hwndSource?.RootVisual as IInputElement;
System\Windows\Controls\Primitives\Popup.cs (1)
3044Visual rootVisual = hwndSource.RootVisual;
System\Windows\Input\KeyboardNavigation.cs (1)
1223sourceElement = hwndSource.RootVisual;
System\Windows\Window.cs (1)
7653if ( _sourceWindow.RootVisual != null )