12 references to GetContainingVisual2D
PresentationCore (12)
MS\Internal\Media3D\GeneralTransform2DTo3DTo2D.cs (1)
126
Viewport3DVisual viewport3D = (Viewport3DVisual)VisualTreeHelper.
GetContainingVisual2D
(visual3D);
System\Windows\Automation\Peers\UIElement3DAutomationPeer.cs (1)
198
Rect rectRoot = PointUtil.ElementToRoot(rectElement, VisualTreeHelper.
GetContainingVisual2D
(_owner), presentationSource);
System\Windows\Input\InputElement.cs (2)
234
vFrom = VisualTreeHelper.
GetContainingVisual2D
(vFromAsDO);
309
vToAsVisual = VisualTreeHelper.
GetContainingVisual2D
(vTo);
System\Windows\Input\Stylus\Common\StylusDevice.cs (2)
353
Visual visualFirstAncestor = VisualTreeHelper.
GetContainingVisual2D
(InputElement.GetContainingVisual(doRelativeTo));
354
Visual visualRoot = VisualTreeHelper.
GetContainingVisual2D
(InputElement.GetRootVisual(doRelativeTo));
System\Windows\Input\Stylus\Common\StylusPlugInCollection.cs (1)
269
Visual root = VisualTreeHelper.
GetContainingVisual2D
(InputElement.GetRootVisual(_element));
System\Windows\Input\Stylus\Common\StylusTouchDeviceBase.cs (1)
129
Visual containingVisual2D = VisualTreeHelper.
GetContainingVisual2D
(containingVisual);
System\Windows\InterOp\HwndMouseInputProvider.cs (1)
299
GeneralTransform gDown = inputSource.RootVisual.TransformToDescendant(VisualTreeHelper.
GetContainingVisual2D
(containingVisual));
System\Windows\Media\Visual.cs (1)
4586
g = VisualTreeHelper.
GetContainingVisual2D
(gAsVisual3D);
System\Windows\Media\VisualCollection.cs (1)
433
Visual oldParent = VisualTreeHelper.
GetContainingVisual2D
(child._parent);
System\Windows\Media3D\Visual3D.cs (1)
812
Viewport3DVisual viewport3DVisual = (Viewport3DVisual)VisualTreeHelper.
GetContainingVisual2D
(this);