This documentation is archived and is not being maintained.

Form.MergedMenu Property

Gets the merged menu for the form.

[Visual Basic]
Public ReadOnly Property MergedMenu As MainMenu
[C#]
public MainMenu MergedMenu {get;}
[C++]
public: __property MainMenu* get_MergedMenu();
[JScript]
public function get MergedMenu() : MainMenu;

Property Value

A MainMenu that represents the merged menu of the form.

Remarks

This property is primarily used when the form is a multiple document interface (MDI) child form that merges its menu with its parent form's menu. You can use this property to obtain the current menu structure in an MDI application to make changes or additions to the menu structure. To obtain the nonmerged MainMenu assigned to a form, use the Menu property.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

Form Class | Form Members | System.Windows.Forms Namespace | MainMenu | MenuItem | Menu

Show: