Edit this page

Design-Time

To start using RadCommandBar just drag it from the toolbox and drop it at the form.

Smart Tag

Select RadCommandBar and click the small arrow on the top right position in order to open the Smart Tag.

Fig.1 Smart Tag

commandbar-design-time 009

  • Common Tasks

    • New Theme Manager: Adds a new RadThemeManager component to the form.

    • Edit UI elements: Opens a dialog that displays the Element Hierarchy Editor. This editor lets you browse all the elements in the control.

    • Theme Name: Select a theme name from the drop down list of themes available for that control. Selecting a theme allows you to change all aspects of the controls visual style at one time.

    • Edit Rows: opens the CommandBarRowElement Collection Editor.

    • Dock: docks the control.

    • AddRow: adds a new row to the command bar.

  • Learning Center: Navigate to the Telerik help, code library projects or support forum.

  • Search: Search the Telerik site for a given string.

Adding a Telerik RadCommandBar to a Form

To add a RadCommandBar to a form, drag it from the toolbox and drop it on the form. By default, the control is oriented horizontally and docked to the top of the form. You can change the orientation, dock style and size from the property grid.commandbar-design-time 001

Adding a RadCommandBarRowElement to RadCommandBarElement

To add a row element to a RadCommandBarElement, click in the blank area of the RadCommandBar control, above the shaded band. You can repeat the process to create multiple rows.

Alternatively, follow these steps to edit line elements:

  1. Select the RadCommandBar control.

  2. Open its Smart Tag menu.

  3. Select Add Row to immediately add a row or Edit Rows to open Collection Editor.

  4. Click the Add button in the RadElement Collection Editor to add a new row element.

  5. Click OK.

commandbar-design-time 002

commandbar-design-time 003

Adding a RadCommandBarStripElement to a RadCommandBarRowElement

To add a strip element to a row element, click on the button marked with +.

commandbar-design-time 004

Alternatively, follow these steps to edit strip elements:

  • Select a RadCommandBarRowElement.

  • Open its Smart Tag menu.

  • Select Add New Strip to immediately add a strip element or Edit Strips to open Collection Editor.

  • Click the Add button in the RadElement Collection Editor to add a new strip element.

  • Click OK.

commandbar-design-time 005

commandbar-design-time 006

Adding an item to a RadCommandBarStripElement

To add an item to a strip element, click on the down arrow button, placed in the strip and choose the item type to add.

commandbar-design-time 007

Alternatively, follow these steps to edit items:

  1. Select a RadCommandBarStripElement.

  2. Open its Smart Tag menu.

  3. Select Edit Items to open Collection Editor.

    commandbar-design-time 010

  4. Click the Add button in the RadElement Collection Editor to add one of the possible items.

  5. Click OK.

commandbar-design-time 008

See Also