AdornerLayer.Add(Adorner) Method

Definition

将装饰器添加到装饰器层。Adds an adorner to the adorner layer.

public:
 void Add(System::Windows::Documents::Adorner ^ adorner);
public void Add (System.Windows.Documents.Adorner adorner);
member this.Add : System.Windows.Documents.Adorner -> unit
Public Sub Add (adorner As Adorner)

Parameters

adorner
Adorner

要添加的装饰器。The adorner to add.

Exceptions

当装饰器为 null 时引发。Raised when adorner is null.

Applies to