AdornerHitTestResult.Adorner Property


Gets the visual that was hit.

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

public Adorner Adorner { get; }

Property Value

Type: System.Windows.Documents.Adorner

The visual that was hit.

There may be multiple visuals in a single Adorner. This property returns the visual that was actually hit.

.NET Framework
Available since 3.0
Return to top