PropertyValue.StringValue, propriété

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

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

Syntaxe

'Déclaration
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)

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.

Sécurité .NET Framework

Voir aussi

Référence

PropertyValue Classe

Microsoft.Windows.Design.PropertyEditing, espace de noms

PropertyEntry

PropertyValueEditor

Autres ressources

Extensibilité du Concepteur WPF

Architecture d'édition de propriété