Ribbon UI

The Dashboard Designer's Ribbon toolbar provides two page categories.

  • Main pages
  • Contextual pages

UserInterface_RibbonPagesDashboard

The main pages include:

  • Home - contains common dashboard commands allowing you to create a new dashboard and add dashboard items, add a title, save the created dashboard, etc.;
  • Data Source - contains commands related to creating and editing data sources, calculated fields, etc.;
  • View - allows you to switch between built-in application themes.

Contextual pages contain commands related to a specific dashboard item. For instance, these commands allow you to apply filtering to dashboard item data, perform specific layout operations, etc.

Creating a Ribbon at Design Time

To create and initialize a Ribbon at design time within Visual Studio, click the DashboardDesigner's smart tag.

UserInterface_CreateRibbonDesignTime

Select Create Ribbon in the invoked context menu. This adds the following visual and non-visual components.

Customizing a Ribbon at Design Time

To customize the RibbonControl, click its smart tag and choose Run Designer. To learn how to customize Ribbon items, the Quick Access Toolbar, a popup menu, etc., see the Ribbon Control Designer topic.

Updating a Ribbon

If your application already contains a Ribbon (for instance, from the earlier version of the Dashboard Designer), you can update it by selecting the Update Ribbon menu item.

DesignerSmartTag_Update

Important

If you are upgrading your project to another major release, you should update the Ribbon.

Customizing a Ribbon in Code

To create and initialize a Ribbon in code, use the DashboardDesigner.CreateRibbon method.

You can obtain an instance of the RibbonControl using the following code.

using DevExpress.XtraBars.Ribbon;
//...
RibbonControl ribbon = dashboardDesigner.MenuManager as RibbonControl;

Member Table

The Dashboard Designer's Ribbon contains the following elements.

UserInterface_RibbonDashboard

The table below lists these elements and their descriptions, as well as properties that affect element functionality and appearance.

Element

Description

Ribbon API

Quick Access Toolbar

Provides access to the most important and frequently used features in the Dashboard Designer.

RibbonControl.Toolbar

RibbonQuickAccessToolbar.ItemLinks

Application Button

Provides access to the Dashboard Designer's main menu.

RibbonControl.ShowApplicationButton

RibbonControl.ApplicationButtonDropDownControl

Main pages

Contain common dashboard commands.

RibbonControl.Pages

Page Category

Combines pages related to a particular dashboard item.

RibbonControl.Categories

Contextual pages

Contain commands related to a particular dashboard item.

RibbonPageCategory.Pages

Page Groups

Represent groups of bar item links within a Ribbon Page.

RibbonPage.Groups

RibbonPageGroup.ItemLinks

Bar Item links

Visual elements (command buttons, editors, submenus, static text, etc.) displayed within the Ribbon. A Bar Item link refers to a specific bar item.

RibbonControl.Items

BarItemLink.Item

See Also