The Menu control is represented by the C1Menu class that allows hierarchical and nested organization of items. The menus can be nested to any depth with many items based on your requirements.
The following image shows the elements of the Menu control.
The elements of the Menu control can be described as follows:
- Menu Bar - The main menu is a horizontal (default), top-level menu. It is comprised of first-level C1MenuItems and can hold any feature available to C1MenuItems.
- Menu Items - Menu items are represented by the C1MenuItem class. Menu items can have labels and icons, and they can also be specified as checkable menu items. Each menu item is associated with a click event handler.
- Submenu - Submenus are menus that can only be accessed from other menus. A submenu is created when you nest a C1MenuItem within another C1MenuItem.