DependencyPropertyValueSource.IsDefaultValue Property
Gets a value that indicates whether this DependencyPropertyValueSource represents a property set to its default value.
Namespace: Microsoft.Windows.Design.PropertyEditing
Assembly: Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)
Syntax
'Declaration
Public ReadOnly Property IsDefaultValue As Boolean
Get
public bool IsDefaultValue { get; }
public:
property bool IsDefaultValue {
bool get ();
}
member IsDefaultValue : bool
function get IsDefaultValue () : boolean
Property Value
Type: System.Boolean
true if this objects represents a property set to its default value; otherwise, false.
Remarks
A property is set to its default value if no value is set for it in XAML and it inherits no 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
Microsoft.Windows.Design.PropertyEditing Namespace