Share via


MenuBase.DisplayName Property

Gets or sets the localized text to display for the menu item.

Namespace:  Microsoft.Windows.Design.Interaction
Assembly:  Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)

Syntax

'Declaration
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)

Property Value

Type: System.String
The localized text to display for the menu item.

.NET Framework Security

See Also

Reference

MenuBase Class

Microsoft.Windows.Design.Interaction Namespace

Other Resources

WPF Designer Extensibility