Base:
property
RootVisual
System.Windows.PresentationSource.RootVisual
5 writes to RootVisual
PresentationFramework (4)
System\Windows\Controls\Primitives\Popup.cs (2)
3149_window.RootVisual = v; 3465hwnd.RootVisual = null;
System\Windows\Window.cs (2)
7508_sourceWindow.RootVisual = value; 7642_sourceWindow.RootVisual = null;
WindowsFormsIntegration (1)
System\Windows\Integration\ElementHost.cs (1)
581_hwndSource.RootVisual = _decorator;
15 references to RootVisual
PresentationCore (9)
System\Windows\DragDrop.cs (1)
1365targetPoint = InputElement.TranslatePoint(targetPoint, source.RootVisual, target);
System\Windows\InterOp\HwndAppCommandInputProvider.cs (1)
31return _source.RootVisual == v;
System\Windows\InterOp\HwndKeyboardInputProvider.cs (1)
40return _source.RootVisual == v;
System\Windows\InterOp\HwndMouseInputProvider.cs (4)
72return _source.RootVisual == v; 295GeneralTransform gDown = inputSource.RootVisual.TransformToDescendant(VisualTreeHelper.GetContainingVisual2D(containingVisual)); 1057DependencyObject rootVisual = hwndSource.RootVisual; 1123DependencyObject rootVisual = hwndSource?.RootVisual;
System\Windows\InterOp\HwndPointerInputProvider.cs (1)
319Point originScreenCoord = _source.RootVisual.PointToScreen(new Point(0, 0));
System\Windows\InterOp\HwndStylusInputProvider.cs (1)
65bool IInputProvider.ProvidesInputForRootVisual(Visual v) => _source.RootVisual == v;
PresentationFramework (6)
System\Windows\Controls\ComboBox.cs (2)
1935if (source != null && !source.IsDisposed && source.RootVisual != null) 1937return source.RootVisual.IsAncestorOf(itemsHost);
System\Windows\Controls\PopupControlService.cs (1)
1602IInputElement rootElement = hwndSource?.RootVisual as IInputElement;
System\Windows\Controls\Primitives\Popup.cs (1)
3037Visual rootVisual = hwndSource.RootVisual;
System\Windows\Input\KeyboardNavigation.cs (1)
1213sourceElement = hwndSource.RootVisual;
System\Windows\Window.cs (1)
7640if ( _sourceWindow.RootVisual != null )