23 references to GetContainingVisual
PresentationCore (23)
System\Windows\Input\AccessKeyManager.cs (1)
449
DependencyObject containingVisual = InputElement.
GetContainingVisual
(elementDO);
System\Windows\Input\InputElement.cs (5)
154
v =
GetContainingVisual
(parent);
161
v =
GetContainingVisual
(parent);
187
DependencyObject rootVisual =
GetContainingVisual
(o);
221
DependencyObject vFromAsDO = InputElement.
GetContainingVisual
(from);
257
DependencyObject vTo = InputElement.
GetContainingVisual
(to);
System\Windows\Input\InputMethod.cs (1)
1598
DependencyObject containingVisual = InputElement.
GetContainingVisual
(o);
System\Windows\Input\KeyboardDevice.cs (2)
156
DependencyObject containingVisual = InputElement.
GetContainingVisual
(focus);
600
DependencyObject visualContainer = InputElement.
GetContainingVisual
(element);
System\Windows\Input\Mouse.cs (1)
468
PresentationSource inputSource = PresentationSource.FromDependencyObject(InputElement.
GetContainingVisual
(relativeTo as DependencyObject));
System\Windows\Input\MouseDevice.cs (3)
348
DependencyObject containingVisual = InputElement.
GetContainingVisual
(eltDO);
554
DependencyObject containingVisual = InputElement.
GetContainingVisual
(dependencyObject);
722
DependencyObject containingVisual = InputElement.
GetContainingVisual
(dependencyObject);
System\Windows\Input\Stylus\Common\StylusDevice.cs (1)
338
Visual visualFirstAncestor = VisualTreeHelper.GetContainingVisual2D(InputElement.
GetContainingVisual
(doRelativeTo));
System\Windows\Input\Stylus\Common\StylusTouchDeviceBase.cs (1)
121
DependencyObject containingVisual = InputElement.
GetContainingVisual
(relativeTo as DependencyObject);
System\Windows\Input\Stylus\Pointer\PointerLogic.cs (1)
800
DependencyObject containingVisual = InputElement.
GetContainingVisual
(dependencyObject);
System\Windows\Input\Stylus\Pointer\PointerStylusDevice.cs (1)
716
DependencyObject containingVisual = InputElement.
GetContainingVisual
(dependencyObject);
System\Windows\Input\Stylus\Wisp\WispLogic.cs (1)
2453
DependencyObject containingVisual = InputElement.
GetContainingVisual
(dependencyObject);
System\Windows\Input\Stylus\Wisp\WispStylusDevice.cs (3)
1170
DependencyObject containingVisual = InputElement.
GetContainingVisual
(dependencyObject);
1511
DependencyObject containingVisual = InputElement.
GetContainingVisual
(_stylusCapture as DependencyObject);
1720
DependencyObject mouseCapturedVisual = InputElement.
GetContainingVisual
((DependencyObject)mouseCaptured);
System\Windows\Input\TouchDevice.cs (1)
544
DependencyObject containingVisual = InputElement.
GetContainingVisual
(_captured as DependencyObject);
System\Windows\InterOp\HwndMouseInputProvider.cs (1)
212
DependencyObject containingVisual = InputElement.
GetContainingVisual
(relativeTo as DependencyObject);