23 references to GetContainingVisual
PresentationCore (23)
System\Windows\Input\AccessKeyManager.cs (1)
462
DependencyObject containingVisual = InputElement.
GetContainingVisual
(elementDO);
System\Windows\Input\InputElement.cs (5)
159
v =
GetContainingVisual
(parent);
166
v =
GetContainingVisual
(parent);
192
DependencyObject rootVisual =
GetContainingVisual
(o);
226
DependencyObject vFromAsDO = InputElement.
GetContainingVisual
(from);
262
DependencyObject vTo = InputElement.
GetContainingVisual
(to);
System\Windows\Input\InputMethod.cs (1)
1612
DependencyObject containingVisual = InputElement.
GetContainingVisual
(o);
System\Windows\Input\KeyboardDevice.cs (2)
169
DependencyObject containingVisual = InputElement.
GetContainingVisual
(focus);
601
DependencyObject visualContainer = InputElement.
GetContainingVisual
(element);
System\Windows\Input\Mouse.cs (1)
477
PresentationSource inputSource = PresentationSource.FromDependencyObject(InputElement.
GetContainingVisual
(relativeTo as DependencyObject));
System\Windows\Input\MouseDevice.cs (3)
363
DependencyObject containingVisual = InputElement.
GetContainingVisual
(eltDO);
569
DependencyObject containingVisual = InputElement.
GetContainingVisual
(dependencyObject);
737
DependencyObject containingVisual = InputElement.
GetContainingVisual
(dependencyObject);
System\Windows\Input\Stylus\Common\StylusDevice.cs (1)
353
Visual visualFirstAncestor = VisualTreeHelper.GetContainingVisual2D(InputElement.
GetContainingVisual
(doRelativeTo));
System\Windows\Input\Stylus\Common\StylusTouchDeviceBase.cs (1)
124
DependencyObject containingVisual = InputElement.
GetContainingVisual
(relativeTo as DependencyObject);
System\Windows\Input\Stylus\Pointer\PointerLogic.cs (1)
816
DependencyObject containingVisual = InputElement.
GetContainingVisual
(dependencyObject);
System\Windows\Input\Stylus\Pointer\PointerStylusDevice.cs (1)
723
DependencyObject containingVisual = InputElement.
GetContainingVisual
(dependencyObject);
System\Windows\Input\Stylus\Wisp\WispLogic.cs (1)
2450
DependencyObject containingVisual = InputElement.
GetContainingVisual
(dependencyObject);
System\Windows\Input\Stylus\Wisp\WispStylusDevice.cs (3)
1171
DependencyObject containingVisual = InputElement.
GetContainingVisual
(dependencyObject);
1512
DependencyObject containingVisual = InputElement.
GetContainingVisual
(_stylusCapture as DependencyObject);
1719
DependencyObject mouseCapturedVisual = InputElement.
GetContainingVisual
((DependencyObject)mouseCaptured);
System\Windows\Input\TouchDevice.cs (1)
557
DependencyObject containingVisual = InputElement.
GetContainingVisual
(_captured as DependencyObject);
System\Windows\InterOp\HwndMouseInputProvider.cs (1)
217
DependencyObject containingVisual = InputElement.
GetContainingVisual
(relativeTo as DependencyObject);