AdornerLayer.GetAdorners(UIElement) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Returns
Adorner[]
An array of adorners that decorate the specified UIElement, or null if there are no adorners bound to the specified element.