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
ESCto abandon your edits or
Enterto accept the edits and create a new RadMenuItem.
- 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.
- Click the RadMenu control, open its Smart Tag menu, and select Edit Items. Add a new RadMenuItem in the RadItem Collection Editor.
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 .
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.
Each RadMenuItem can have its own items to allow menu designs that require multiple levels of hierarchy.
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.