ComponentOne Menus and Toolbars for WinForms
C1.Win.C1Command.4.5.2 Assembly / C1.Win.C1Command Namespace / MenuMerge Enumeration

In This Topic
    MenuMerge Enumeration
    In This Topic
    Specifies the behavior of a menu item when it is merged with items in another menu. Note: it`s MS "System.Windows.Forms.MenuItem.MenuMerge" enumeration analogue for .NET5 compatibility.
    Syntax
    'Declaration
     
    Public Enum MenuMerge 
       Inherits System.Enum
    public enum MenuMerge : System.Enum 
    Members
    MemberDescription
    AddThe MenuItem is added to the collection of existing menu item objects in a merged menu.
    MergeItemsAll submenu items of this menu item are merged with those of existing menu item objects at the same position in a merged menu.
    RemoveThe menu item is not included in a merged menu.
    ReplaceThe menu item replaces an existing menu item at the same position in a merged menu.
    Inheritance Hierarchy

    System.Object
       System.ValueType
          System.Enum
             C1.Win.C1Command.MenuMerge

    scrap%

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also

    Reference

    C1.Win.C1Command Namespace