MenuItem Constructor |
Overloaded. Initializes a new instance of the class with a specified caption and event handler for the Click event of the menu item. |
Bounds |
Gets the bounds of the menu item. |
Break |
Gets or sets a value indicating whether the item is placed on a new line (for a menu item added to a MainMenu object) or in a new column (for a menu item or submenu item displayed in a ContextMenu). |
Checked |
Gets or sets a value indicating whether a check mark appears next to the text of the menu item. |
Command |
Gets or sets the command this menu item should be connected to. |
Container (inherited from Component) |
Gets the IContainer that contains the Component. |
DefaultItem |
Gets or sets a value indicating whether the menu item is the default menu item. |
Description |
Gets or sets a value that describes the menu item. |
Editor |
Gets or sets the editor that is associated with the menu item. |
Enabled |
Gets or sets a value indicating whether the menu item is enabled. |
Image |
Gets the image assigned to the menu item. |
ImageIndex |
Gets or sets the index value of the image assigned to the menu item. |
Index |
Gets or sets a value indicating the position of the menu item in its parent menu. |
Infrequent |
Gets or sets a value indicating whether the menu item should be hided by the infrequent filter if it hasn't been used recently. |
IsParent |
Gets a value indicating whether the menu item contains child menu items. |
MdiList |
Gets or sets a value indicating whether the menu item will be populated with a list of the Multiple Document Interface (MDI) child windows that are displayed within the associated form. |
MenuItems |
Gets a value indicating the collection of MenuItem objects associated with the menu item. |
MergeOrder |
Gets or sets a value indicating the relative position of the menu item when it is merged with another. |
MergeType |
Gets or sets a value indicating the behavior of this menu item when its menu is merged with another. |
Mnemonic |
Gets a value indicating the mnemonic character that is associated with this menu item. |
OwnerDraw |
Gets or sets a value indicating whether the code that you provide draws the menu item or the renderer draws the menu item. |
Parent |
Gets a value indicating the menu that contains this menu item. |
ParentItem |
Gets a value indicating the parent menu item that contains this menu item. |
RadioCheck |
Gets or sets a value indicating whether the MenuItem, if checked, displays a radio-button instead of a check mark. |
Shortcut |
Gets or sets a value indicating the shortcut key associated with the menu item. |
ShowShortcut |
Gets or sets a value indicating whether the shortcut key that is associated with the menu item is displayed next to the menu item caption. |
Site (inherited from Component) |
Gets or sets the ISite of the Component. |
Tag |
Gets or sets the object that contains data about the menu item. |
Text |
Gets or sets a value indicating the caption of the menu item. |
Visible |
Gets or sets a value indicating whether the menu item is visible. |
CloneMenu |
Overloaded. Creates a copy of the current MenuItem. |
CreateObjRef (inherited from MarshalByRefObject) |
Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. |
Dispose (inherited from Component) |
Overloaded. Releases the resources used by the Component. |
Equals (inherited from Object) |
Overloaded. Determines whether two Object instances are equal. |
GetContextMenu |
Gets the ContextMenu that contains this menu item. |
GetHashCode (inherited from Object) |
Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. |
GetLifetimeService (inherited from MarshalByRefObject) |
Retrieves the current lifetime service object that controls the lifetime policy for this instance. |
GetMainMenu |
Gets the MainMenu that contains this menu item. |
GetShortcutText |
Returns the shortcut as text. |
GetType (inherited from Object) |
Gets the Type of the current instance. |
InitializeLifetimeService (inherited from MarshalByRefObject) |
Obtains a lifetime service object to control the lifetime policy for this instance. |
MergeMenu |
Overloaded. Merges another menu item with this menu item. |
PerformClick |
Generates a Click event for the MenuItem, simulating a click by a user. |
PerformSelect |
Generates a Select event for the MenuItem. |
ToString (inherited from Component) |
Overridden. See Object.ToString. |
Click |
Occurs when the menu item is clicked or selected using a shortcut key or access key defined for the menu item. |
Disposed (inherited from Component) |
Adds an event handler to listen to the Disposed event on the component. |
DrawItem |
Occurs when the OwnerDraw property of a menu item is set to true and a request is made to draw the menu item. |
MeasureItem |
Occurs when the menu needs to know the size of a menu item before drawing it. |
Popup |
Occurs before a menu item's list of menu items is displayed. |
Select |
Occurs when the user places the cursor over a menu item. |
DesignMode (inherited from Component) |
Gets a value that indicates whether the Component is currently in design mode. |
Events (inherited from Component) |
Gets the list of event handlers that are attached to this Component. |
CreateMdiListForm |
Creates a dialog where the user can select mdi child forms to activate. |
Dispose (inherited from Component) |
Overloaded. Releases the resources used by the Component. |
Finalize (inherited from Component) |
Overridden. See Object.Finalize. In C# and C++, finalizers are expressed using destructor syntax. |
GetService (inherited from Component) |
Returns an object that represents a service provided by the Component or by its Container. |
MemberwiseClone (inherited from Object) |
Creates a shallow copy of the current Object. |
OnClick |
Raises the Click event. |
OnDrawItem |
Raises the DrawItem event. |
OnMeasureItem |
Raises the MeasureItem event. |
OnPopup |
Raises the Popup event. |
OnSelect |
Raises the Select event. |