Edit this page

Menu Designer

Adding Main Menu items

There are multiple methods for building menus using the RadItem Collection Editor or the RadMenu designer. To add a new main menu item:

  • Click the RadMenu area labeled Type here, and type your top level menu item directly into the entry space provided. When you're finished click ESC to abandon your edits or Enter to accept the edits and create a new RadMenuItem.

menus-menu-design-time-menu-designer 001

  • Click the drop-down arrow to the right of the existing main menu items, and select Add RadMenuItem, Add RadMenuComboItem or Add RadMenuSeparatorItem to create an item of the corresponding type. Once the menu item is created you can use the Smart Tag to configure the Text, Image properties and edit the Items collection for the menu item.

menus-menu-design-time-menu-designer 002

  • Click the RadMenu control, open its Smart Tag menu, and select Edit Items. Add a new RadMenuItem in the RadItem Collection Editor.

menus-menu-design-time-menu-designer 003

note

The menu designer is decorated with rightward and downward pointing arrow buttons. Right-pointing arrows indicate Smart Tags for the RadMenu and the Down-pointing arrows let you add a particular menu item type, i.e. RadMenuItem , RadMenuComboItem or RadMenuSeparatorItem .

Adding Sub Menu Items

To add a new sub-menu item to a main menu item, use one of these procedures:

  • Select the main menu item, click in its Items property, click the ellipsis button, and then use the RadItem Collection Editor.

  • Click a main menu item in the designer to invoke the Add new item. Add new will allow you to select from RadMenuitem, RadMenuComboItem or RadmenuSeparatorItem. Select one of these menu item types to create it and add it below the selected menu item.

menus-menu-design-time-menu-designer 004

Each RadMenuItem can have its own items to allow menu designs that require multiple levels of hierarchy.

menus-menu-design-time-menu-designer 006

Removing Menu Items

To remove a main menu or sub-menu item, select the item and press Delete or right click the menu item and select Delete from the context menu.

See Also