MenuItem Constructor
.NET Framework (current version)
Initializes a new instance of the MenuItem class.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
| Name | Description | |
|---|---|---|
![]() | MenuItem() | Initializes a MenuItem with a blank caption. |
![]() | MenuItem(MenuMerge, Int32, Shortcut, String^, EventHandler^, EventHandler^, EventHandler^, array<MenuItem^>^) | |
![]() | MenuItem(String^) | Initializes a new instance of the MenuItem class with a specified caption for the menu item. |
![]() | MenuItem(String^, EventHandler^) | Initializes a new instance of the class with a specified caption and event handler for the Click event of the menu item. |
![]() | MenuItem(String^, EventHandler^, Shortcut) | Initializes a new instance of the class with a specified caption, event handler, and associated shortcut key for the menu item. |
![]() | MenuItem(String^, array<MenuItem^>^) | Initializes a new instance of the class with a specified caption and an array of submenu items defined for the menu item. |
Show:
