Export (0) Print
Expand All

MenuItem Constructor

Initializes a new instance of the MenuItem class.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  NameDescription
Public method Supported by the .NET Compact Framework MenuItem() Initializes a MenuItem with a blank caption.
Public method MenuItem(String) Initializes a new instance of the MenuItem class with a specified caption for the menu item.
Public method 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.
Public method MenuItem(String, MenuItem[]) Initializes a new instance of the class with a specified caption and an array of submenu items defined for the menu item.
Public method 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.
Public method MenuItem(MenuMerge, Int32, Shortcut, String, EventHandler, EventHandler, EventHandler, MenuItem[]) Initializes a new instance of the MenuItem class with a specified caption; defined event-handlers for the Click, Select and Popup events; a shortcut key; a merge type; and order specified for the menu item.
Top

Community Additions

ADD
Show:
© 2014 Microsoft