Back to Devexpress

DashboardDesignerBarExtensions.GetDashboardRibbonCategory(RibbonControl, DashboardBarItemCategory) Method

dashboard-devexpress-dot-dashboardwin-dot-dashboarddesignerbarextensions-dot-getdashboardribboncategory-x28-devexpress-dot-xtrabars-dot-ribbon-dot-ribboncontrol-devexpress-dot-dashboardwin-dot-dashboardbaritemcategory-x29.md

latest2.3 KB
Original Source

DashboardDesignerBarExtensions.GetDashboardRibbonCategory(RibbonControl, DashboardBarItemCategory) Method

Returns a category from the Ribbon toolbar used in the Dashboard Designer.

Namespace : DevExpress.DashboardWin

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

NuGet Package : DevExpress.Win.Dashboard

Declaration

csharp
public static RibbonPageCategory GetDashboardRibbonCategory(
    this RibbonControl ribbonControl,
    DashboardBarItemCategory itemCategory
)
vb
<ExtensionAttribute>
Public Shared Function GetDashboardRibbonCategory(
    ribbonControl As RibbonControl,
    itemCategory As DashboardBarItemCategory
) As RibbonPageCategory

Parameters

NameTypeDescription
ribbonControlRibbonControl

A Ribbon toolbar used in the Dashboard Designer.

| | itemCategory | DashboardBarItemCategory |

A Ribbon page category.

|

Returns

TypeDescription
RibbonPageCategory

A Ribbon category that meets the specified parameters.

|

Remarks

Use the GetDashboardRibbonCategory method to identify a Ribbon page category.

See Also

DashboardDesignerBarExtensions Class

DashboardDesignerBarExtensions Members

DevExpress.DashboardWin Namespace