System.Windows.Forms.MainMenu Members

The members of System.Windows.Forms.MainMenu are listed below.

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

Public Constructors

Initializes a new instance of the System.Windows.Forms.MainMenu class without any specified menu items.

Initializes a new instance of the System.Windows.Forms.MainMenu class with the specified container.

Initializes a new instance of the System.Windows.Forms.MainMenu with a specified set of System.Windows.Forms.MenuItem objects.

Public Properties

RightToLeftRightToLeft.

Gets or sets whether the text displayed by the control is displayed from right to left.

Public Methods

CloneMenu() : MainMenu

Creates a new System.Windows.Forms.MainMenu that is a duplicate of the current System.Windows.Forms.MainMenu.

GetForm() : Form

Gets the System.Windows.Forms.Form that contains this control.

override
ToString() : string

Returns a string that represents the System.Windows.Forms.MainMenu.

Protected Methods

override
CreateMenuHandle() : IntPtr
Documentation for this section has not yet been entered.
override
Dispose(bool)

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

OnCollapse(EventArgs)

Raises the MainMenu.Collapse event.

Public Events

Collapse

Occurs when the main menu collapses.