New to Telerik UI for WinForms? Download free 30-day trial

Customizing the Quick Access Toolbar

The Quick Access Toolbar is an area at the top of the Telerik RadRibbonBar, above the tabs.

Figure 1: Quick Access Toolbar

WinForms RadRibbonBar Quick Access Toolbar

The Quick Access Toolbar can contain the same elements as the RadMenu:

  • Menu items, displayed as either images, text, or both

  • Combo boxes

  • Custom items

  • Separators

Adding Items to the Quick Access Toolbar

To add an item to the Quick Access Toolbar, follow these steps:

  1. Select the RadRibbonBar control.

  2. Open the Smart Tag menu.

  3. Click the Edit QuickAccessToolbarItems task. Alternatively, you can click in the QuickAccessToolbarItems property, and then click the ellipsis button.

  4. In the RadElement Collection Editor dialog box, click the drop-down arrow next to the Add button to select the type of element you wish to add to the Quick Access Toolbar.

WinForms RadRibbonBar Quick Access Toolbar Collection Editor

  1. Use the Properties window in the RadElement Collection Editor dialog box to set the properties of the new Quick Access Toolbar item.

WinForms RadRibbonBar Quick Access Toolbar Properties

  1. Repeat steps 3 and 4 to add additional Quick Access Toolbar items.

  2. Click OK.

Removing Items from the Quick Access Toolbar

To remove an item from the Quick Access Toolbar, follow these steps:

  1. Select the RadRibbonBar control.

  2. Click in the QuickAccessToolbarItems property, and then click the ellipsis button.

  3. In the RadElement Collection Editor dialog box, select the Quick Access Menu item that you wish to remove.

  4. Click Remove.

  5. Click OK.

To Handle Quick Access Toolbar Item Events

To handle events from a Quick Access Toolbar item, follow these steps:

  1. Select the Quick Access Toolbar item in the selected control combo box at the top of the Visual Studio Properties window.

  2. Click the events toolbar button.

  3. Double-click the appropriate event to generate an event handler. Normally this event will be the Click event.

See Also

In this article