Udostępnij za pośrednictwem


MenuBase.DisplayName Property

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

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

Syntax

'Declaration
Public Property DisplayName As String
'Usage
Dim instance As MenuBase 
Dim value As String 

value = instance.DisplayName

instance.DisplayName = value
public string DisplayName { get; set; }
public:
property String^ DisplayName {
    String^ get ();
    void set (String^ value);
}
public function get DisplayName () : String 
public 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

MenuBase Members

Microsoft.Windows.Design.Interaction Namespace

Other Resources

WPF Designer Extensibility