23 references to GetContainingVisual
PresentationCore (23)
System\Windows\Input\AccessKeyManager.cs (1)
450
DependencyObject containingVisual = InputElement.
GetContainingVisual
(elementDO);
System\Windows\Input\InputElement.cs (5)
155
v =
GetContainingVisual
(parent);
162
v =
GetContainingVisual
(parent);
188
DependencyObject rootVisual =
GetContainingVisual
(o);
222
DependencyObject vFromAsDO = InputElement.
GetContainingVisual
(from);
258
DependencyObject vTo = InputElement.
GetContainingVisual
(to);
System\Windows\Input\InputMethod.cs (1)
1598
DependencyObject containingVisual = InputElement.
GetContainingVisual
(o);
System\Windows\Input\KeyboardDevice.cs (2)
160
DependencyObject containingVisual = InputElement.
GetContainingVisual
(focus);
592
DependencyObject visualContainer = InputElement.
GetContainingVisual
(element);
System\Windows\Input\Mouse.cs (1)
469
PresentationSource inputSource = PresentationSource.FromDependencyObject(InputElement.
GetContainingVisual
(relativeTo as DependencyObject));
System\Windows\Input\MouseDevice.cs (3)
354
DependencyObject containingVisual = InputElement.
GetContainingVisual
(eltDO);
560
DependencyObject containingVisual = InputElement.
GetContainingVisual
(dependencyObject);
728
DependencyObject containingVisual = InputElement.
GetContainingVisual
(dependencyObject);
System\Windows\Input\Stylus\Common\StylusDevice.cs (1)
339
Visual visualFirstAncestor = VisualTreeHelper.GetContainingVisual2D(InputElement.
GetContainingVisual
(doRelativeTo));
System\Windows\Input\Stylus\Common\StylusTouchDeviceBase.cs (1)
122
DependencyObject containingVisual = InputElement.
GetContainingVisual
(relativeTo as DependencyObject);
System\Windows\Input\Stylus\Pointer\PointerLogic.cs (1)
799
DependencyObject containingVisual = InputElement.
GetContainingVisual
(dependencyObject);
System\Windows\Input\Stylus\Pointer\PointerStylusDevice.cs (1)
715
DependencyObject containingVisual = InputElement.
GetContainingVisual
(dependencyObject);
System\Windows\Input\Stylus\Wisp\WispLogic.cs (1)
2441
DependencyObject containingVisual = InputElement.
GetContainingVisual
(dependencyObject);
System\Windows\Input\Stylus\Wisp\WispStylusDevice.cs (3)
1168
DependencyObject containingVisual = InputElement.
GetContainingVisual
(dependencyObject);
1509
DependencyObject containingVisual = InputElement.
GetContainingVisual
(_stylusCapture as DependencyObject);
1716
DependencyObject mouseCapturedVisual = InputElement.
GetContainingVisual
((DependencyObject)mouseCaptured);
System\Windows\Input\TouchDevice.cs (1)
545
DependencyObject containingVisual = InputElement.
GetContainingVisual
(_captured as DependencyObject);
System\Windows\InterOp\HwndMouseInputProvider.cs (1)
213
DependencyObject containingVisual = InputElement.
GetContainingVisual
(relativeTo as DependencyObject);