Skip to main content

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

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

Namespace: DevExpress.DashboardWin

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

NuGet Package: DevExpress.Win.Dashboard

Declaration

public DashboardToolbarItem(
    bool? isChecked,
    string tooltip,
    Action<DashboardToolbarItemClickEventArgs> clickAction
)

Parameters

Name Type Description
isChecked Nullable<Boolean>

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

tooltip String

A String that is the text displayed in a tooltip.

clickAction Action<DashboardToolbarItemClickEventArgs>

A Action delegate method that specifies an action performed after clicking the command button.

See Also