Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

AdornerLayer.GetAdorners Method

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

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
© 2015 Microsoft