Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

MenuItem Constructor

Initializes a new instance of the MenuItem class.
Name Description
MenuItem () Initializes a MenuItem with a blank caption.

Supported by the .NET Compact Framework.

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, MenuItem[]) Initializes a new instance of the class with a specified caption and an array of submenu items defined for 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 (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.

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.