AdornerLayer.AdornerHitTest Method (Point)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on 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


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