Proprietà DependencyPropertyValueSource.IsDefaultValue

Ottiene un valore che indica se DependencyPropertyValueSource rappresenta una proprietà impostata sul relativo valore predefinito.

Spazio dei nomi:  Microsoft.Windows.Design.PropertyEditing
Assembly:  Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)

Sintassi

'Dichiarazione
Public ReadOnly Property IsDefaultValue As Boolean
    Get
public bool IsDefaultValue { get; }
public:
property bool IsDefaultValue {
    bool get ();
}
member IsDefaultValue : bool
function get IsDefaultValue () : boolean

Valore proprietà

Tipo: System.Boolean
true se l'oggetto rappresenta una proprietà impostata sul relativo valore predefinito; in caso contrario, false.

Note

Una proprietà viene impostata sul relativo valore predefinito se nessun valore viene impostato in XAML e non eredita alcun valore dall'elemento padre.

Sicurezza di .NET Framework

Vedere anche

Riferimenti

DependencyPropertyValueSource Classe

Spazio dei nomi Microsoft.Windows.Design.PropertyEditing

Altre risorse

Estensibilità di Progettazione WPF

Architettura di modifica delle proprietà