DependencyPropertyValueSource.IsDefaultValue Property
Gets a value indicating whether the property is set to its default value.
Namespace: Microsoft.Windows.Design.PropertyEditing
Assembly: Microsoft.Windows.Design (in Microsoft.Windows.Design.dll)
Syntax
'Declaration
Public ReadOnly Property IsDefaultValue As Boolean
'Usage
Dim instance As DependencyPropertyValueSource
Dim value As Boolean
value = instance.IsDefaultValue
public bool IsDefaultValue { get; }
public:
property bool IsDefaultValue {
bool get ();
}
public function get IsDefaultValue () : boolean
Property Value
Type: System.Boolean
true if the property is set to its default value; otherwise, false.
Remarks
This property returns true if it does not have a value set in XAML and 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