AdornerLayer.AdornerHitTest Method (Point)

 

Gets an AdornerHitTestResult for a specified point.

Namespace:   System.Windows.Documents
Assembly:  PresentationFramework (in PresentationFramework.dll)

public AdornerHitTestResult AdornerHitTest(
	Point point
)

Parameters

point
Type: System.Windows.Point

The point to hit test.

Return Value

Type: System.Windows.Media.AdornerHitTestResult

An AdornerHitTestResult for the specified point.

An AdornerHitTestResult contains the Visual that was hit, and the adorner that the visual is part of.

.NET Framework
Available since 3.0
Return to top
Show: