UIElementCollection.Remove(UIElement) Method

Definition

Removes the specified element from a UIElementCollection.

public:
 virtual void Remove(System::Windows::UIElement ^ element);
public virtual void Remove (System.Windows.UIElement element);
abstract member Remove : System.Windows.UIElement -> unit
override this.Remove : System.Windows.UIElement -> unit
Public Overridable Sub Remove (element As UIElement)

Parameters

element
UIElement

The element to remove from the collection.

Applies to