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.v18.2.Win.dll

Declaration

public DashboardToolbarItem(
    bool? isChecked,
    string tooltip,
    Action<DashboardToolbarItemClickEventArgs> clickAction
)
Public Sub New(
    isChecked As Boolean?,
    tooltip As String,
    clickAction As Action(Of DashboardToolbarItemClickEventArgs)
)

Parameters

Type Name Description
Nullable<Boolean> isChecked

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

String tooltip

A String that is the text displayed in a tooltip.

Action<DashboardToolbarItemClickEventArgs> clickAction

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

See Also