AdornerLayer.Remove Method (Adorner)

 

Removes the specified Adorner from the adorner layer.

Namespace:   System.Windows.Documents
Assembly:  PresentationFramework (in PresentationFramework.dll)

public void Remove(
	Adorner adorner
)

Parameters

adorner
Type: System.Windows.Documents.Adorner

The Adorner to remove.

Exception Condition
ArgumentNullException

Raised when adorner is null.

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

.NET Framework
Available since 3.0
Return to top
Show: