PropertyValue.StringValue, propriété

Mise à jour : novembre 2007

Obtient ou définit la valeur de cette PropertyValue comme String.

Espace de noms :  Microsoft.Windows.Design.PropertyEditing
Assembly :  Microsoft.Windows.Design (dans Microsoft.Windows.Design.dll)

Syntaxe

Public Property StringValue As String

Dim instance As PropertyValue
Dim value As String

value = instance.StringValue

instance.StringValue = value
public string StringValue { get; set; }
public:
property String^ StringValue {
    String^ get ();
    void set (String^ value);
}
public function get StringValue () : String
public function set StringValue (value : String)

Valeur de propriété

Type : System.String

Chaîne contenant la valeur de cette PropertyValue.

Notes

La valeur par défaut est Empty.

Utilisez plutôt la propriété Value ou Collection si la propriété ne contient pas un String.

La méthode Set de cette propriété appelle la méthode suivante pour exécuter l'opération :

La méthode Get de cette propriété appelle la méthode suivante pour exécuter l'opération :

Cette propriété appelle OnPropertyValueException, si nécessaire, pour gérer les exceptions.

Autorisations

Voir aussi

Référence

PropertyValue, classe

Membres PropertyValue

Microsoft.Windows.Design.PropertyEditing, espace de noms

PropertyEntry

PropertyValueEditor

Autres ressources

Extensibilité du concepteur WPF

Architecture d'édition de propriété