Skip to main content
UIElementCollectionClearLogicalParent Method
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

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

protected void ClearLogicalParent(
	UIElement element
)
protected:
void ClearLogicalParent(
	UIElement^ element
)
member ClearLogicalParent : 
        element:UIElement -> unit
Protected Sub ClearLogicalParent (
	element As UIElement
)

Parameters

element
Type:

The UIElement whose logical parent is being cleared.

.NET Framework
Available since 3.0
Return to top