DependencyPropertyValueSource.IsNull 屬性

取得值,這個值表示這個 DependencyPropertyValueSource 是否代表設定為 x:Null 的屬性。

命名空間:  Microsoft.Windows.Design.PropertyEditing
組件:  Microsoft.Windows.Design.Interaction (在 Microsoft.Windows.Design.Interaction.dll 中)

語法

'宣告
Public ReadOnly Property IsNull As Boolean
    Get
public bool IsNull { get; }
public:
property bool IsNull {
    bool get ();
}
member IsNull : bool
function get IsNull () : boolean

屬性值

型別:System.Boolean
如果這個物件代表設定為 x:Null 的屬性則為 true,否則為 false。

.NET Framework 安全性

請參閱

參考

DependencyPropertyValueSource 類別

Microsoft.Windows.Design.PropertyEditing 命名空間

其他資源

WPF 設計工具擴充性

屬性編輯架構