MVCxMenuItemCollection.Add(Action<MVCxMenuItem>) Method

Adds a new menu item to the collection and allows you to customize this item in a delegate method implementation.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v21.1.dll

Declaration

public void Add(
    Action<MVCxMenuItem> method
)

Parameters

Name Type Description
method Action<MVCxMenuItem>

A delegate method that accepts the created MVCxMenuItem as a parameter.

See Also