System.Windows.Forms.MenuMerge Enumeration

Specifies the behavior of a System.Windows.Forms.MenuItem when it is merged with items in another menu.

Syntax

public enum MenuMerge

Remarks

Use the members of this enumeration to set the value of the MenuItem.MergeType property of the System.Windows.Forms.MenuItem.

Members

Member NameDescription
Add

The System.Windows.Forms.MenuItem is added to the collection of existing System.Windows.Forms.MenuItem objects in a merged menu.

MergeItems

All submenu items of this System.Windows.Forms.MenuItem are merged with those of existing System.Windows.Forms.MenuItem objects at the same position in a merged menu.

Remove

The System.Windows.Forms.MenuItem is not included in a merged menu.

Replace

The System.Windows.Forms.MenuItem replaces an existing System.Windows.Forms.MenuItem at the same position in a merged menu.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0