Share via


MenuBase.DisplayName, propriété

Obtient ou définit le texte localisé à afficher pour l'élément de menu.

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

Syntaxe

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

Valeur de propriété

Type : System.String
Texte localisé à afficher pour l'élément de menu.

Sécurité .NET Framework

Voir aussi

Référence

MenuBase Classe

Microsoft.Windows.Design.Interaction, espace de noms

Autres ressources

Extensibilité du Concepteur WPF