# Menu Elements

## Content



The **Menu** control is represented by the [C1Menu](/componentone/api/wpf/online-menu5/dotnet-api/C1.WPF.Menu/C1.WPF.Menu.C1Menu.html) class that allows hierarchical organization of elements associated with event handlers. The menus can be nested to any depth that you desire, and you can add as many items to the menu as you need to add.

The following image diagrams the elements of the **C1Menu** control.

![](https://cdn.mescius.io/document-site-files/images/d5a2d4a0-cda2-4410-85e8-b185436bedb1/images/menucontextmenu/menuelements.png)

The elements of the C1Menu control can be described as follows:

*   **Menu Bar**

The main menu is a horizontal, top-level menu. It is comprised of first-level **C1MenuItems** and can hold any feature available to **C1MenuItems**.

*   **Submenus**

Submenus are menus that can only be accessed from other menus. A submenu is created when you nest a **C1MenuItem** within another **C1MenuItem**.

*   **Menu Items**

Menu items are represented by the [C1MenuItem](/componentone/api/wpf/online-menu5/dotnet-api/C1.WPF.Menu/C1.WPF.Menu.C1MenuItem.html) 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.

*   **Checkable Menu Item**

Checkable menu items are objects of the **C1MenuItem** class that can be selected or cleared by users. You can make checkable menu items standalone, or you can group them with other checkable menu items to create a list of mutually exclusive check boxes. Checkable menu items can't be used in the menu bar.

*   **Icon**

Icons are created by adding an Image control to the Icon property. Icons can't be used in the menu bar.

*   **Separator**

Separators are created through the [C1MenuSeparator](/componentone/api/wpf/online-menu5/dotnet-api/C1.WPF.Menu/C1.WPF.Menu.C1MenuSeparator.html) class. Icons can't be used in the menu bar.

## See Also

[Creating Menus](/componentone/docs/wpf/online-menu5/overview/flat-menu/CreatingMenus)

[Adding Icons](/componentone/docs/wpf/online-menu5/overview/flat-menu/AddingIcons)

[Adding Separator Bar](/componentone/docs/wpf/online-menu5/overview/flat-menu/AddingSeparatorBar)