27 references to VisualHit
PresentationCore (4)
Core\CSharp\System\Windows\Media\GeometryHitTestResult.cs (1)
54
return (Visual) base.
VisualHit
;
Core\CSharp\System\Windows\Media\PointHitTestResult.cs (1)
52
return (Visual) base.
VisualHit
;
Core\CSharp\System\Windows\Media3D\Ray3DHitTestResult.cs (1)
56
get { return (Visual3D) base.
VisualHit
; }
Core\CSharp\System\Windows\UIElement.cs (1)
2198
return _result != null ? _result.
VisualHit
: null;
PresentationFramework (10)
src\Framework\MS\Internal\Controls\InkCanvasInnerCanvas.cs (2)
269
Visual visual = hitTestResult.
VisualHit
as Visual;
270
System.Windows.Media.Media3D.Visual3D visual3D = hitTestResult.
VisualHit
as System.Windows.Media.Media3D.Visual3D;
src\Framework\MS\Internal\Documents\DocumentGrid.cs (1)
2695
DependencyObject currentVisual = (result != null) ? result.
VisualHit
: null;
src\Framework\System\Windows\Documents\FixedTextView.cs (1)
792
DependencyObject v = (result != null) ? result.
VisualHit
: null;
src\Framework\System\windows\Documents\TextEditorMouse.cs (6)
783
if(hitTestResult.
VisualHit
is Visual) check = ((Visual)hitTestResult.
VisualHit
).IsDescendantOf(renderScope);
784
if(hitTestResult.
VisualHit
is Visual3D) check = ((Visual3D)hitTestResult.
VisualHit
).IsDescendantOf(renderScope);
786
if (hitTestResult.
VisualHit
== renderScope||
788
hitTestResult.
VisualHit
== caretElement)
System.Activities.Core.Presentation (6)
System\Activities\Core\Presentation\FlowchartDesigner.Helpers.cs (1)
31
DependencyObject obj = result.
VisualHit
;
System\Activities\Core\Presentation\FlowchartDesigner.xaml.cs (2)
789
newViewElement = VisualTreeUtils.FindVisualAncestor<StartSymbol>(hitTestResult.
VisualHit
);
792
newViewElement = VisualTreeUtils.FindVisualAncestor<VirtualizedContainerService.VirtualizingContainer>(hitTestResult.
VisualHit
);
System\Activities\Core\Presentation\StateContainerEditor.Utilities.cs (1)
108
DependencyObject obj = result.
VisualHit
;
System\Activities\Core\Presentation\StateContainerEditor.xaml.cs (1)
1569
newViewElement = VisualTreeUtils.FindVisualAncestor<WorkflowViewElement>(hitTestResult.
VisualHit
);
System\Activities\Core\Presentation\TransitionDesigner.xaml.cs (1)
544
for (DependencyObject obj = result.
VisualHit
;
System.Activities.Presentation (7)
System.Activities.Presentation\System\Activities\Presentation\CutCopyPasteHelper.cs (1)
465
visualHit = hitTest.
VisualHit
;
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\ConnectorWithStartDot.xaml.cs (1)
57
if (result != null && this.startDotGrid.IsAncestorOf(result.
VisualHit
))
System.Activities.Presentation\System\Activities\Presentation\MiniMap\MiniMapControl.xaml.cs (3)
360
if (null != hitTest && null != hitTest.
VisualHit
)
362
Point clickedPosition = args.GetPosition(hitTest.
VisualHit
as IInputElement);
363
result = this.lookupWindow.Select(hitTest.
VisualHit
, clickedPosition);
System.Activities.Presentation\System\Activities\Presentation\View\RubberBandSelector.cs (2)
196
WorkflowViewElement view = VisualTreeUtils.FindVisualAncestor<WorkflowViewElement>(result.
VisualHit
);
217
return result != null && VisualTreeUtils.FindVisualAncestor<Adorner>(result.
VisualHit
) != null;