Initializes a new instance of the DashboardToolbarMenuItem class with the specified caption and click action.
Namespace: DevExpress.DashboardWin
Assembly: DevExpress.Dashboard.v18.2.Win.dll
public DashboardToolbarMenuItem(
string caption,
Action<DashboardToolbarItemClickEventArgs> clickAction
)
Public Sub New(
caption As String,
clickAction As Action(Of DashboardToolbarItemClickEventArgs)
)
Type | Name | Description |
---|---|---|
String | caption | A String that is the text displayed in a menu item caption. |
Action<DashboardToolbarItemClickEventArgs> | clickAction | A Action delegate method that specifies an action performed after clicking the menu item. |
This constructor creates an item which cannot be pushed because it has no checked state.