Skip to main content
All docs
V25.1
  • DashboardDesignerBarExtensions.GetDashboardBar(BarManager, DashboardBarItemCategory, DashboardToolbar) Method

    Returns a toolbar from the Bars used in the Dashboard Designer.

    Namespace: DevExpress.DashboardWin

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

    NuGet Package: DevExpress.Win.Dashboard

    Declaration

    public static Bar GetDashboardBar(
        this BarManager barManager,
        DashboardBarItemCategory itemCategory,
        DashboardToolbar toolbar
    )

    Parameters

    Name Type Description
    barManager BarManager

    A Bar Manager that owns the toolbars used in the Dashboard Designer.

    itemCategory DashboardBarItemCategory

    A value that identifies a contextual toolbar related to a particular dashboard item.

    toolbar DashboardToolbar

    A value that identifies a toolbar.

    Returns

    Type Description
    Bar

    A toolbar that meets the specified parameters.

    See Also