Bewerken

Delen via


Adorner(UIElement) Constructor

Definition

Initializes a new instance of the Adorner class.

protected:
 Adorner(System::Windows::UIElement ^ adornedElement);
protected Adorner (System.Windows.UIElement adornedElement);
new System.Windows.Documents.Adorner : System.Windows.UIElement -> System.Windows.Documents.Adorner
Protected Sub New (adornedElement As UIElement)

Parameters

adornedElement
UIElement

The element to bind the adorner to.

Exceptions

adornedElement is null.

Remarks

When implementing a class that inherits from Adorner, ensure that the inheriting class's constructor calls the base class constructor.

Applies to