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