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)
1600
DependencyObject containingVisual = InputElement.
GetContainingVisual
(o);
System\Windows\Input\KeyboardDevice.cs (2)
157
DependencyObject containingVisual = InputElement.
GetContainingVisual
(focus);
601
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)
349
DependencyObject containingVisual = InputElement.
GetContainingVisual
(eltDO);
555
DependencyObject containingVisual = InputElement.
GetContainingVisual
(dependencyObject);
723
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)
801
DependencyObject containingVisual = InputElement.
GetContainingVisual
(dependencyObject);
System\Windows\Input\Stylus\Pointer\PointerStylusDevice.cs (1)
717
DependencyObject containingVisual = InputElement.
GetContainingVisual
(dependencyObject);
System\Windows\Input\Stylus\Wisp\WispLogic.cs (1)
2454
DependencyObject containingVisual = InputElement.
GetContainingVisual
(dependencyObject);
System\Windows\Input\Stylus\Wisp\WispStylusDevice.cs (3)
1174
DependencyObject containingVisual = InputElement.
GetContainingVisual
(dependencyObject);
1515
DependencyObject containingVisual = InputElement.
GetContainingVisual
(_stylusCapture as DependencyObject);
1724
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);