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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
DependencyPropertyValueSource Class
DependencyPropertyValueSource Members
Microsoft.Windows.Design.PropertyEditing Namespace