.NET Framework (current version)
Gets the visual object that was hit.
PresentationCore (in PresentationCore.dll)
member VisualHit : DependencyObject with get
DependencyObject is the type rather than Visual so that hit testing can bridge 2D and 3D trees through a viewport.
The following example shows how to retrieve the VisualHit property value in a hit test callback method.
No code example is currently available or this language may not be supported.
Return to top
Available since 3.0