Back to Devexpress

DashboardDesigner.CreateRibbon() Method

dashboard-devexpress-dot-dashboardwin-dot-dashboarddesigner-53ed8578.md

latest5.5 KB
Original Source

DashboardDesigner.CreateRibbon() Method

Creates and initializes a Ribbon in the DashboardDesigner‘s parent control.

Namespace : DevExpress.DashboardWin

Assembly : DevExpress.Dashboard.v25.2.Win.dll

NuGet Package : DevExpress.Win.Dashboard

Declaration

csharp
public void CreateRibbon()
vb
Public Sub CreateRibbon

Remarks

Use the CreateRibbon method to create a Ribbon that allows end-users to access commands required to work with the DashboardDesigner.

You can create a toolbar menu that provides the same functionality instead. To do this, use the DashboardDesigner.CreateBars method.

The following code snippets (auto-collected from DevExpress Examples) contain references to the CreateRibbon() method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

winforms-dashboard-display-best-and-worst-monthly-sales/CS/Dashboard_AggrSalesByMonths/Form1.cs#L7

csharp
InitializeComponent();
dashboardDesigner1.CreateRibbon();
dashboardDesigner1.LoadDashboard(@"..\..\Data\SalesByMonths.xml");

winforms-dashboard-grid-hyperlink-column/CS/Dashboard_GridHyperlinkColumn/Form1.cs#L11

csharp
InitializeComponent();
dashboardDesigner1.CreateRibbon();

winforms-dashboard-sql-data-source/CS/Dashboard_DashboardDataProviders/Form1.cs#L11

csharp
InitializeComponent();
dashboardDesigner1.CreateRibbon();

winforms-dashboard-customize-color-scheme/CS/Dashboard_Coloring/Form1.cs#L10

csharp
InitializeComponent();
dashboardDesigner1.CreateRibbon();

winforms-dashboard-custom-save-and-open-procedures/CS/Dashboard_LoadingAndSaving/Form1.cs#L11

csharp
InitializeComponent();
    dashboardDesigner1.CreateRibbon();
}

winforms-dashboard-display-best-and-worst-monthly-sales/VB/Dashboard_AggrSalesByMonths/Form1.vb#L10

vb
InitializeComponent()
dashboardDesigner1.CreateRibbon()
dashboardDesigner1.LoadDashboard("..\..\Data\SalesByMonths.xml")

winforms-dashboard-grid-hyperlink-column/VB/Dashboard_GridHyperlinkColumn/Form1.vb#L11

vb
InitializeComponent()
dashboardDesigner1.CreateRibbon()
Dim dashboard As Dashboard = New Dashboard()

winforms-dashboard-sql-data-source/VB/Dashboard_DashboardDataProviders/Form1.vb#L11

vb
InitializeComponent()
dashboardDesigner1.CreateRibbon()

winforms-dashboard-customize-color-scheme/VB/Dashboard_Coloring/Form1.vb#L12

vb
InitializeComponent()
dashboardDesigner1.CreateRibbon()

winforms-dashboard-custom-save-and-open-procedures/VB/Dashboard_LoadingAndSaving/Form1.vb#L13

vb
InitializeComponent()
    dashboardDesigner1.CreateRibbon()
End Sub

See Also

CreateBars()

DashboardDesigner Class

DashboardDesigner Members

DevExpress.DashboardWin Namespace