Skip to main content
A newer version of this page is available. .

MVCxMenuItemCollection.Add(String, String, String, String) Method

Adds a new menu item to the collection and specifies the item’s display text, name, associated image and URL.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v19.2.dll

Declaration

public MVCxMenuItem Add(
    string text,
    string name,
    string imageUrl,
    string navigateUrl
)

Parameters

Name Type
text String
name String
imageUrl String
navigateUrl String

Returns

Type
MVCxMenuItem
See Also