PropertyMetadata.DefaultValue Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Property Value
An object representing the default value for this PropertyMetadata.
Exceptions
Attempting to set this property when IsSealed is true
.
Remarks
This property can be a null reference (Nothing
in Visual Basic).
Applies to
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
.NET