UIElementCollection.ClearLogicalParent(UIElement) 方法

定义

当元素离开 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)

参数

element
UIElement

要清除其逻辑父级的 UIElement

适用于