Specifies the behavior of a MenuItem when it is merged with items in another menu.
[Visual Basic] Public Enum MenuMerge [C#] public enum MenuMerge [C++] public enum MenuMerge
[JScript] In JScript, you can use the enumerations in the NGWS frameworks, but you cannot define your own.
Use the members of this enumeration to set the value of the MergeType property of the MenuItem.
Member Name | Description |
---|---|
Add | The MenuItem is added to the existing MenuItem objects in a merged menu. |
MergeItems | Subitems of this MenuItem are merged with those of existing MenuItem objects at the same position in a merged menu. |
Remove | The MenuItem is not included in a merged menu. |
Replace | The MenuItem replaces the existing MenuItem at the same position in a merged menu. |
Namespace: System.WinForms
Assembly: System.WinForms.dll