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

適用於