System.Windows.Forms.Menu: Method Members

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

See Also: Inherited members from System.ComponentModel.Component

Public Methods

FindMenuItem(int, IntPtr) : MenuItem

Gets the System.Windows.Forms.MenuItem that contains the value specified.

GetContextMenu() : ContextMenu

Gets the System.Windows.Forms.ContextMenu that contains this menu.

GetMainMenu() : MainMenu

Gets the System.Windows.Forms.MainMenu that contains this menu.

MergeMenu(Menu)

Merges the System.Windows.Forms.MenuItem objects of one menu with the current menu.

override
ToString() : string

Returns a string that represents the System.Windows.Forms.Menu control.

Protected Methods

CloneMenu(Menu)

Copies the System.Windows.Forms.Menu that is passed as a parameter to the current System.Windows.Forms.Menu.

CreateMenuHandle() : IntPtr

Creates a new handle to the System.Windows.Forms.Menu.

override
Dispose(bool)

Disposes of the resources, other than memory, used by the System.Windows.Forms.Menu.

FindMergePosition(int) : int

Returns the position at which a menu item should be inserted into the menu.

ProcessCmdKey(ref Message, Keys) : bool
Documentation for this section has not yet been entered.