UIElementCollection.ClearLogicalParent(UIElement) Method

Definition

Clears the logical parent of an element when the element leaves a UIElementCollection.

protected:
 void ClearLogicalParent(System::Windows::UIElement ^ element);
protected void ClearLogicalParent (System.Windows.UIElement element);
member this.ClearLogicalParent : System.Windows.UIElement -> unit
Protected Sub ClearLogicalParent (element As UIElement)

Parameters

element
UIElement

The UIElement whose logical parent is being cleared.

Applies to