Delen via


DependencyPropertyValueSource.DefaultValue Property

Gets the default value the property is set to.

Namespace:  Microsoft.Windows.Design.PropertyEditing
Assembly:  Microsoft.Windows.Design (in Microsoft.Windows.Design.dll)

Syntax

'Declaration
Public Shared ReadOnly Property DefaultValue As DependencyPropertyValueSource
'Usage
Dim value As DependencyPropertyValueSource 

value = DependencyPropertyValueSource.DefaultValue
public static DependencyPropertyValueSource DefaultValue { get; }
public:
static property DependencyPropertyValueSource^ DefaultValue {
    DependencyPropertyValueSource^ get ();
}
public static function get DefaultValue () : DependencyPropertyValueSource

Property Value

Type: Microsoft.Windows.Design.PropertyEditing.DependencyPropertyValueSource
A DependencyPropertyValueSource for the default value.

Remarks

This property returns the default value if it does not have a value set in XAML or it does not inherit a value from its parent.

.NET Framework Security

See Also

Reference

DependencyPropertyValueSource Class

DependencyPropertyValueSource Members

Microsoft.Windows.Design.PropertyEditing Namespace

Other Resources

WPF Designer Extensibility

Property Editing Architecture