AdornerLayer.AdornerHitTest(Point) Method

Definition

Gets an AdornerHitTestResult for a specified point.

public:
 System::Windows::Media::AdornerHitTestResult ^ AdornerHitTest(System::Windows::Point point);
public System.Windows.Media.AdornerHitTestResult AdornerHitTest (System.Windows.Point point);
member this.AdornerHitTest : System.Windows.Point -> System.Windows.Media.AdornerHitTestResult
Public Function AdornerHitTest (point As Point) As AdornerHitTestResult

Parameters

point
Point

The point to hit test.

Returns

An AdornerHitTestResult for the specified point.

Remarks

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

Applies to