AdornerLayer.Remove(Adorner) Method

Definition

Removes the specified Adorner from the adorner layer.

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

Parameters

adorner
Adorner

The Adorner to remove.

Exceptions

Raised when adorner is null.

Remarks

This method simply returns if the specified adorner does not exist.

Applies to