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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.Windows.Design.Interaction Namespace