Skip to main content

DashboardToolbarMenuItem(Nullable<Boolean>, String, Action<DashboardToolbarItemClickEventArgs>) Constructor

Initializes a new instance of the DashboardToolbarMenuItem class with the specified checked state, caption and click action.

Namespace: DevExpress.DashboardWin

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

NuGet Package: DevExpress.Win.Dashboard

Declaration

public DashboardToolbarMenuItem(
    bool? isChecked,
    string caption,
    Action<DashboardToolbarItemClickEventArgs> clickAction
)

Parameters

Name Type Description
isChecked Nullable<Boolean>

True, to create a button in a checked state; otherwise, false.

caption String

A String that is the menu item caption text.

clickAction Action<DashboardToolbarItemClickEventArgs>

A Action delegate method that specifies an action performed after clicking the menu item.

See Also