Back to Devexpress

DashboardDesigner.Ribbon Property

dashboard-devexpress-dot-dashboardwin-dot-dashboarddesigner-8690ff98.md

latest4.1 KB
Original Source

DashboardDesigner.Ribbon Property

Gets a Ribbon instance for the current Dashboard Designer.

Namespace : DevExpress.DashboardWin

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

NuGet Package : DevExpress.Win.Dashboard

Declaration

csharp
[Browsable(false)]
public RibbonControl Ribbon { get; }
vb
<Browsable(False)>
Public ReadOnly Property Ribbon As RibbonControl

Property Value

TypeDescription
RibbonControl

A RibbonControl instance.

|

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

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-each-series-in-separate-pane-for-chart-items/CS/MultiPaneExtension/MultiPaneModule.cs#L290

csharp
{
    RibbonControl ribbon = dashboardDesigner.Ribbon;
    RibbonPage page = ribbon.GetDashboardRibbonPage(DashboardBarItemCategory.ChartTools, DashboardRibbonPage.Design);

dashboard-constant-lines/CS/ConstantLineExtension.Win/ConstantLineModule.cs#L108

csharp
{
    RibbonControl ribbon = dashboardDesigner.Ribbon;
    RibbonPage page = ribbon.GetDashboardRibbonPage(DashboardBarItemCategory.ChartTools, DashboardRibbonPage.Design);

winforms-dashboard-custom-properties/CS/WinForms-Dashboard-Custom-Properties/Modules/ConstantLineUserValueModule.cs#L35

csharp
this.designer = designer;
BarButtonItem barItem = AddBarItem("Constant line", barImage, designer.Ribbon);
barItem.ItemClick += BarItem_Click;

winforms-dashboard-display-each-series-in-separate-pane-for-chart-items/VB/MultiPaneExtension/MultiPaneModule.vb#L242

vb
Private Sub AddButtonToRibbon()
    Dim ribbon As RibbonControl = dashboardDesigner.Ribbon
    Dim page As RibbonPage = ribbon.GetDashboardRibbonPage(DashboardBarItemCategory.ChartTools, DashboardRibbonPage.Design)

winforms-dashboard-custom-properties/VB/WinForms-Dashboard-Custom-Properties/Modules/ConstantLineUserValueModule.vb#L35

vb
Me.designer = designer
Dim barItem As BarButtonItem = AddBarItem("Constant line", barImage, designer.Ribbon)
AddHandler barItem.ItemClick, AddressOf BarItem_Click

See Also

DashboardDesigner Class

DashboardDesigner Members

DevExpress.DashboardWin Namespace