8 references to GetContainingVisual2D
PresentationCore (8)
Core\CSharp\MS\Internal\Media3D\GeneralTransform2Dto3Dto2D.cs (1)
125
Viewport3DVisual viewport3D = (Viewport3DVisual)VisualTreeHelper.
GetContainingVisual2D
(visual3D);
Core\CSharp\System\Windows\Automation\Peers\UIElement3DAutomationPeer.cs (1)
210
Rect rectRoot = PointUtil.ElementToRoot(rectElement, VisualTreeHelper.
GetContainingVisual2D
(_owner), presentationSource);
Core\CSharp\System\Windows\Input\InputElement.cs (2)
272
vFrom = VisualTreeHelper.
GetContainingVisual2D
(vFromAsDO);
348
vToAsVisual = VisualTreeHelper.
GetContainingVisual2D
(vTo);
Core\CSharp\System\Windows\Interop\HwndMouseInputProvider.cs (1)
354
GeneralTransform gDown = inputSource.RootVisual.TransformToDescendant(VisualTreeHelper.
GetContainingVisual2D
(containingVisual));
Core\CSharp\System\Windows\Media\Visual.cs (1)
4632
g = VisualTreeHelper.
GetContainingVisual2D
(gAsVisual3D);
Core\CSharp\System\Windows\Media\VisualCollection.cs (1)
450
Visual oldParent = VisualTreeHelper.
GetContainingVisual2D
(child._parent);
Core\CSharp\System\Windows\Media3D\Visual3D.cs (1)
828
Viewport3DVisual viewport3DVisual = (Viewport3DVisual)VisualTreeHelper.
GetContainingVisual2D
(this);