Breyta

Deila með


AdornerLayer.GetAdorners(UIElement) Method

Definition

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

public:
 cli::array <System::Windows::Documents::Adorner ^> ^ GetAdorners(System::Windows::UIElement ^ element);
public System.Windows.Documents.Adorner[] GetAdorners (System.Windows.UIElement element);
member this.GetAdorners : System.Windows.UIElement -> System.Windows.Documents.Adorner[]
Public Function GetAdorners (element As UIElement) As Adorner()

Parameters

element
UIElement

The UIElement to retrieve an array of adorners for.

Returns

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

Applies to