14 references to VisualHit
PresentationCore (4)
System\Windows\Media\GeometryHitTestResult.cs (1)
44return (Visual) base.VisualHit;
System\Windows\Media\PointHitTestResult.cs (1)
42return (Visual) base.VisualHit;
System\Windows\Media3D\Ray3DHitTestResult.cs (1)
48get { return (Visual3D) base.VisualHit; }
System\Windows\UIElement.cs (1)
2165return _result != null ? _result.VisualHit : null;
PresentationFramework (10)
MS\Internal\Controls\InkCanvasInnerCanvas.cs (2)
258Visual visual = hitTestResult.VisualHit as Visual; 259System.Windows.Media.Media3D.Visual3D visual3D = hitTestResult.VisualHit as System.Windows.Media.Media3D.Visual3D;
MS\Internal\Documents\DocumentGrid.cs (1)
2645DependencyObject currentVisual = (result != null) ? result.VisualHit : null;
System\Windows\Documents\FixedTextView.cs (1)
773DependencyObject v = (result != null) ? result.VisualHit : null;
System\windows\Documents\TextEditorMouse.cs (6)
768if(hitTestResult.VisualHit is Visual) check = ((Visual)hitTestResult.VisualHit).IsDescendantOf(renderScope); 769if(hitTestResult.VisualHit is Visual3D) check = ((Visual3D)hitTestResult.VisualHit).IsDescendantOf(renderScope); 771if (hitTestResult.VisualHit == renderScope|| 773hitTestResult.VisualHit == caretElement)