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.v21.1.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