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