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
- 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