AdornerLayer::GetAdorners Method (UIElement^)

 

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

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

public:
array<Adorner^>^ GetAdorners(
	UIElement^ element
)

Parameters

element
Type: System.Windows::UIElement^

The UIElement to retrieve an array of adorners for.

Return Value

Type: array<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
Show: