AdornerLayer.GetAdorners Method (UIElement)


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

Returns an array of adorners that are bound to the specified UIElement.

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

public Adorner[] GetAdorners(
	UIElement element


Type: System.Windows.UIElement

The UIElement to retrieve an array of adorners for.

Return Value

Type: System.Windows.Documents.Adorner[]

An array of adorners that decorate the specified UIElement, or null if there are no adorners bound to the specified element.

.NET Framework
Available since 3.0
Return to top