Adorner(UIElement) Constructor
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.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.