WidgetFactory<TModel>.Menu() Method

Creates a Menu control.

Namespace: DevExtreme.AspNet.Mvc.Factories

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public MenuBuilder Menu()

Returns

Type Description
MenuBuilder

An instance of MenuBuilder.

Remarks

This method creates a MenuBuilder class instance whose members can be used to specify Menu options.

@(Html.DevExtreme().Menu() // create a Menu
    // call methods to specify control options
)
See Also