VisualHit Property
Collapse the table of content
Expand the table of content

GeometryHitTestResult.VisualHit Property


Gets the visual object that is returned from a result.GTMT

Namespace:   System.Windows.Media
Assembly:  PresentationCore (in PresentationCore.dll)

public Visual VisualHit { get; }

Property Value

Type: System.Windows.Media.Visual

A Visual object that represents the hit test result.

The following example shows how to reference the value of the VisualHit property in a hit test callback procedure.

.NET Framework
Available since 3.0
Return to top
© 2015 Microsoft