Windows apps
Collapse the table of content
Expand the table of content
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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 Function AdornerHitTest (
	point As Point
) As AdornerHitTestResult


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
© 2018 Microsoft