12 references to GetContainingVisual2D
PresentationCore (12)
MS\Internal\Media3D\GeneralTransform2DTo3DTo2D.cs (1)
108
Viewport3DVisual viewport3D = (Viewport3DVisual)VisualTreeHelper.
GetContainingVisual2D
(visual3D);
System\Windows\Automation\Peers\UIElement3DAutomationPeer.cs (1)
189
Rect rectRoot = PointUtil.ElementToRoot(rectElement, VisualTreeHelper.
GetContainingVisual2D
(_owner), presentationSource);
System\Windows\Input\InputElement.cs (2)
229
vFrom = VisualTreeHelper.
GetContainingVisual2D
(vFromAsDO);
304
vToAsVisual = VisualTreeHelper.
GetContainingVisual2D
(vTo);
System\Windows\Input\Stylus\Common\StylusDevice.cs (2)
338
Visual visualFirstAncestor = VisualTreeHelper.
GetContainingVisual2D
(InputElement.GetContainingVisual(doRelativeTo));
339
Visual visualRoot = VisualTreeHelper.
GetContainingVisual2D
(InputElement.GetRootVisual(doRelativeTo));
System\Windows\Input\Stylus\Common\StylusPlugInCollection.cs (1)
259
Visual root = VisualTreeHelper.
GetContainingVisual2D
(InputElement.GetRootVisual(_element));
System\Windows\Input\Stylus\Common\StylusTouchDeviceBase.cs (1)
126
Visual containingVisual2D = VisualTreeHelper.
GetContainingVisual2D
(containingVisual);
System\Windows\InterOp\HwndMouseInputProvider.cs (1)
294
GeneralTransform gDown = inputSource.RootVisual.TransformToDescendant(VisualTreeHelper.
GetContainingVisual2D
(containingVisual));
System\Windows\Media\Visual.cs (1)
4569
g = VisualTreeHelper.
GetContainingVisual2D
(gAsVisual3D);
System\Windows\Media\VisualCollection.cs (1)
408
Visual oldParent = VisualTreeHelper.
GetContainingVisual2D
(child._parent);
System\Windows\Media3D\Visual3D.cs (1)
803
Viewport3DVisual viewport3DVisual = (Viewport3DVisual)VisualTreeHelper.
GetContainingVisual2D
(this);