PropertyMetadata.DefaultValue 属性
定义
获取或设置关联依赖项属性的默认值。Gets or sets the default value of the associated dependency property.
public:
property System::Object ^ DefaultValue { System::Object ^ get(); void set(System::Object ^ value); };
public object DefaultValue { get; set; }
member this.DefaultValue : obj with get, set
Public Property DefaultValue As Object
属性值
一个对象,它表示此 PropertyMetadata 的默认值。An object representing the default value for this PropertyMetadata.
例外
注解
此属性可以为空引用(在 Visual Basic 中为 Nothing)。This property can be a null reference (Nothing in Visual Basic).