AdornerLayer.AdornerHitTest Method (Point)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: