DependencyProperty.IsAttached 屬性

定義

取得屬性,該屬性指出根據註冊,這個 DependencyProperty 是否與 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 方法來註冊。

適用於