DependencyProperty.IsAttached 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得顯示是否 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 。