Skip to main content

MVCxMenuItemCollection.Add(String, String) Method

Adds a new item to the collection and specifies the item’s display text and name.

Namespace: DevExpress.Web.Mvc

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

NuGet Package: DevExpress.Web.Mvc5

Declaration

public MVCxMenuItem Add(
    string text,
    string name
)

Parameters

Name Type
text String
name String

Returns

Type
MVCxMenuItem
See Also