DependencyProperty.IsAttached 屬性

定義

取得顯示是否 DependencyProperty 與 a DependencyObject 註冊相關聯的屬性。

public:
 property bool IsAttached { bool get(); };
public bool IsAttached { get; }
member this.IsAttached : bool
Public ReadOnly Property IsAttached As Boolean

屬性值

true 若附加於 DependencyObject;否則, false

備註

回傳的值顯示該 DependencyProperty 方法是否已註冊 Register

適用於