NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

MenuMerge Enumeration

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.

Remarks

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

Members

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.

Requirements

Namespace: System.WinForms

Assembly: System.WinForms.dll

See Also

System.WinForms Namespace