Back to Devexpress

DashboardDesignerBarExtensions.GetDashboardBar(BarManager, Type, DashboardToolbar) Method

dashboard-devexpress-dot-dashboardwin-dot-dashboarddesignerbarextensions-dot-getdashboardbar-x28-devexpress-dot-xtrabars-dot-barmanager-system-dot-type-devexpress-dot-dashboardwin-dot-dashboardtoolbar-x29.md

latest2.2 KB
Original Source

DashboardDesignerBarExtensions.GetDashboardBar(BarManager, Type, 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,
    Type customItemMetadataType,
    DashboardToolbar toolbar
)
vb
<ExtensionAttribute>
Public Shared Function GetDashboardBar(
    barManager As BarManager,
    customItemMetadataType As Type,
    toolbar As DashboardToolbar
) As Bar

Parameters

NameTypeDescription
barManagerBarManager

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

| | customItemMetadataType | Type |

A metadata type that corresponds to a CustomItemMetadata class descendant.

| | 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