Proprietà PropertyValue.StringValue

Ottiene o imposta il valore di questo oggetto PropertyValue come un oggetto String.

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

Sintassi

'Dichiarazione
Public Property StringValue As String
    Get
    Set
public string StringValue { get; set; }
public:
property String^ StringValue {
    String^ get ();
    void set (String^ value);
}
member StringValue : string with get, set
function get StringValue () : String
function set StringValue (value : String)

Valore proprietà

Tipo: System.String
Stringa contenente il valore di questo oggetto PropertyValue.

Note

Il valore predefinito è Empty.

Se la proprietà non contiene un oggetto String, utilizzare invece la proprietà Value o Collection.

Il metodo set di questa proprietà chiama il metodo seguente per eseguire le operazioni:

Il metodo get di questa proprietà chiama il metodo seguente per eseguire le operazioni:

Questa proprietà chiama l'oggetto OnPropertyValueException se necessario per gestire le eccezioni.

Sicurezza di .NET Framework

Vedere anche

Riferimenti

PropertyValue Classe

Spazio dei nomi Microsoft.Windows.Design.PropertyEditing

PropertyEntry

PropertyValueEditor

Altre risorse

Estensibilità di Progettazione WPF

Architettura di modifica delle proprietà