Redigera

Dela via


PropertyMetadata.DefaultValue Property

Definition

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