System.Windows.Forms.MenuItem: Constructor Members

The constructors of System.Windows.Forms.MenuItem are listed below. For a list of all members, see the MenuItem Members list.

See Also: Inherited members from System.Windows.Forms.Menu

Public Constructors

Initializes a System.Windows.Forms.MenuItem with a blank caption.

Initializes a new instance of the System.Windows.Forms.MenuItem class with a specified caption for the menu item.

Initializes a new instance of the class with a specified caption and event handler for the MenuItem.Click event of the menu item.

Initializes a new instance of the class with a specified caption and an array of submenu items defined for the menu item.

Initializes a new instance of the class with a specified caption, event handler, and associated shortcut key for the menu item.

Initializes a new instance of the System.Windows.Forms.MenuItem class with a specified caption; defined event-handlers for the MenuItem.Click, MenuItem.Select and MenuItem.Popup events; a shortcut key; a merge type; and order specified for the menu item.