ContainerVisual::HitTest Method (Point)
.NET Framework (current version)
Returns the top-most visual object of a hit test by specifying a Point.
Assembly: PresentationCore (in PresentationCore.dll)
Parameters
- point
-
Type:
System.Windows::Point
The point value to hit test.
Return Value
Type: System.Windows.Media::HitTestResult^The hit test result of the visual returned as a HitTestResult type.
The following example shows how to retrieve the HitTestResult return value from the HitTest method.
.NET Framework
Available since 3.0
Available since 3.0
Show: