Skip to main content

DashboardToolbarMenuItem(String, Action<DashboardToolbarItemClickEventArgs>) Constructor

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

Namespace: DevExpress.DashboardWin

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

NuGet Package: DevExpress.Win.Dashboard

Declaration

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

Parameters

Name Type Description
caption String

A String that is the text displayed in a menu item caption.

clickAction Action<DashboardToolbarItemClickEventArgs>

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

Remarks

This constructor creates an item which cannot be pushed because it has no checked state.

See Also