12 references to GetContainingVisual2D
PresentationCore (12)
MS\Internal\Media3D\GeneralTransform2DTo3DTo2D.cs (1)
110
Viewport3DVisual viewport3D = (Viewport3DVisual)VisualTreeHelper.
GetContainingVisual2D
(visual3D);
System\Windows\Automation\Peers\UIElement3DAutomationPeer.cs (1)
190
Rect rectRoot = PointUtil.ElementToRoot(rectElement, VisualTreeHelper.
GetContainingVisual2D
(_owner), presentationSource);
System\Windows\Input\InputElement.cs (2)
230
vFrom = VisualTreeHelper.
GetContainingVisual2D
(vFromAsDO);
305
vToAsVisual = VisualTreeHelper.
GetContainingVisual2D
(vTo);
System\Windows\Input\Stylus\Common\StylusDevice.cs (2)
339
Visual visualFirstAncestor = VisualTreeHelper.
GetContainingVisual2D
(InputElement.GetContainingVisual(doRelativeTo));
340
Visual visualRoot = VisualTreeHelper.
GetContainingVisual2D
(InputElement.GetRootVisual(doRelativeTo));
System\Windows\Input\Stylus\Common\StylusPlugInCollection.cs (1)
260
Visual root = VisualTreeHelper.
GetContainingVisual2D
(InputElement.GetRootVisual(_element));
System\Windows\Input\Stylus\Common\StylusTouchDeviceBase.cs (1)
127
Visual containingVisual2D = VisualTreeHelper.
GetContainingVisual2D
(containingVisual);
System\Windows\InterOp\HwndMouseInputProvider.cs (1)
295
GeneralTransform gDown = inputSource.RootVisual.TransformToDescendant(VisualTreeHelper.
GetContainingVisual2D
(containingVisual));
System\Windows\Media\Visual.cs (1)
4570
g = VisualTreeHelper.
GetContainingVisual2D
(gAsVisual3D);
System\Windows\Media\VisualCollection.cs (1)
419
Visual oldParent = VisualTreeHelper.
GetContainingVisual2D
(child._parent);
System\Windows\Media3D\Visual3D.cs (1)
804
Viewport3DVisual viewport3DVisual = (Viewport3DVisual)VisualTreeHelper.
GetContainingVisual2D
(this);