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