Back to Devexpress

DashboardDesignerBarExtensions.GetDashboardBar(BarManager, DashboardBarItemCategory, DashboardToolbar) Method

dashboard-devexpress-dot-dashboardwin-dot-dashboarddesignerbarextensions-dot-getdashboardbar-x28-barmanager-dashboardbaritemcategory-dashboardtoolbar-x29.md

latest2.3 KB
Original Source

DashboardDesignerBarExtensions.GetDashboardBar(BarManager, DashboardBarItemCategory, DashboardToolbar) Method

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

Namespace : DevExpress.DashboardWin

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

NuGet Package : DevExpress.Win.Dashboard

Declaration

csharp
public static Bar GetDashboardBar(
    this BarManager barManager,
    DashboardBarItemCategory itemCategory,
    DashboardToolbar toolbar
)
vb
<ExtensionAttribute>
Public Shared Function GetDashboardBar(
    barManager As BarManager,
    itemCategory As DashboardBarItemCategory,
    toolbar As DashboardToolbar
) As Bar

Parameters

NameTypeDescription
barManagerBarManager

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

TypeDescription
Bar

A toolbar that meets the specified parameters.

|

See Also

DashboardDesignerBarExtensions Class

DashboardDesignerBarExtensions Members

DevExpress.DashboardWin Namespace