14 references to VisualHit
PresentationCore (4)
System\Windows\Media\GeometryHitTestResult.cs (1)
53return (Visual) base.VisualHit;
System\Windows\Media\PointHitTestResult.cs (1)
51return (Visual) base.VisualHit;
System\Windows\Media3D\Ray3DHitTestResult.cs (1)
53get { return (Visual3D) base.VisualHit; }
System\Windows\UIElement.cs (1)
2170return _result != null ? _result.VisualHit : null;
PresentationFramework (10)
MS\Internal\Controls\InkCanvasInnerCanvas.cs (2)
261Visual visual = hitTestResult.VisualHit as Visual; 262System.Windows.Media.Media3D.Visual3D visual3D = hitTestResult.VisualHit as System.Windows.Media.Media3D.Visual3D;
MS\Internal\Documents\DocumentGrid.cs (1)
2652DependencyObject currentVisual = (result != null) ? result.VisualHit : null;
System\Windows\Documents\FixedTextView.cs (1)
781DependencyObject v = (result != null) ? result.VisualHit : null;
System\windows\Documents\TextEditorMouse.cs (6)
782if(hitTestResult.VisualHit is Visual) check = ((Visual)hitTestResult.VisualHit).IsDescendantOf(renderScope); 783if(hitTestResult.VisualHit is Visual3D) check = ((Visual3D)hitTestResult.VisualHit).IsDescendantOf(renderScope); 785if (hitTestResult.VisualHit == renderScope|| 787hitTestResult.VisualHit == caretElement)