Skip to main content
You are viewing help content for a version that is no longer maintained/updated.
All docs
V17.2
  • DashboardMenuItem(String, String, Int32, Int32, Action) Constructor

    Initializes a new instance of the DashboardMenuItem class.

    Namespace: DevExpress.Dashboard

    Assembly: DevExpress.Dashboard.v17.2.Web.Scripts.dll

    Declaration

    public DashboardMenuItem(
        string id,
        string title,
        int index,
        int hotKey,
        Action click
    )

    Parameters

    Name Type Description
    id String

    A string value that is a menu item’s unique name.

    title String

    A string value that is a dashboard menu item title.

    index Int32

    A zero-based integer specifying the position of the current dashboard menu item.

    hotKey Int32

    An integer value that specifies a hotkey combination.

    click Action

    A custom function that is invoked when a click occurs.

    See Also