MenuBuilder Class
A Menu control.
Namespace: DevExtreme.AspNet.Mvc.Builders
Assembly: DevExtreme.AspNet.Core.dll
Declaration
public class MenuBuilder :
WidgetBuilder
Related API Members
The following members return MenuBuilder objects:
- MenuBuilder.AccessKey(JS)
- MenuBuilder.AccessKey(String)
- MenuBuilder.ActiveStateEnabled(Boolean)
- MenuBuilder.ActiveStateEnabled(JS)
- MenuBuilder.AdaptivityEnabled(Boolean)
- MenuBuilder.AdaptivityEnabled(JS)
- MenuBuilder.Animation(Action<MenuAnimationBuilder>)
- MenuBuilder.CssClass(JS)
- MenuBuilder.CssClass(String)
- MenuBuilder.DataSource(Func<DataSourceFactory, OptionsOwnerBuilder>)
- MenuBuilder.DataSource(IEnumerable, String[])
- MenuBuilder.DataSource(JS)
- MenuBuilder.DataSource(String, String[])
- MenuBuilder.DataSourceOptions(Action<DataSourceOptionsBuilder>)
- MenuBuilder.Disabled(Boolean)
- MenuBuilder.Disabled(JS)
- MenuBuilder.DisabledExpr(JS)
- MenuBuilder.DisabledExpr(String)
- MenuBuilder.DisplayExpr(JS)
- MenuBuilder.DisplayExpr(String)
- MenuBuilder.ElementAttr(Dictionary<String, Object>)
- MenuBuilder.ElementAttr(JS)
- MenuBuilder.ElementAttr(Object)
- MenuBuilder.ElementAttr(String, Object)
- MenuBuilder.FocusStateEnabled(Boolean)
- MenuBuilder.FocusStateEnabled(JS)
- MenuBuilder.Height(Double)
- MenuBuilder.Height(JS)
- MenuBuilder.Height(String)
- MenuBuilder.HideSubmenuOnMouseLeave(Boolean)
- MenuBuilder.HideSubmenuOnMouseLeave(JS)
- MenuBuilder.Hint(JS)
- MenuBuilder.Hint(String)
- MenuBuilder.HoverStateEnabled(Boolean)
- MenuBuilder.HoverStateEnabled(JS)
- MenuBuilder.ID(JS)
- MenuBuilder.ID(String)
- MenuBuilder.Items(Action<CollectionFactory<MenuItemBuilder>>)
- MenuBuilder.ItemsExpr(JS)
- MenuBuilder.ItemsExpr(String)
- MenuBuilder.ItemTemplate(JS)
- MenuBuilder.ItemTemplate(RazorBlock)
- MenuBuilder.ItemTemplate(String)
- MenuBuilder.ItemTemplate(TemplateName)
- MenuBuilder.OnContentReady(RazorBlock)
- MenuBuilder.OnContentReady(String)
- MenuBuilder.OnDisposing(RazorBlock)
- MenuBuilder.OnDisposing(String)
- MenuBuilder.OnInitialized(RazorBlock)
- MenuBuilder.OnInitialized(String)
- MenuBuilder.OnItemClick(RazorBlock)
- MenuBuilder.OnItemClick(String)
- MenuBuilder.OnItemContextMenu(RazorBlock)
- MenuBuilder.OnItemContextMenu(String)
- MenuBuilder.OnItemRendered(RazorBlock)
- MenuBuilder.OnItemRendered(String)
- MenuBuilder.OnOptionChanged(RazorBlock)
- MenuBuilder.OnOptionChanged(String)
- MenuBuilder.OnSelectionChanged(RazorBlock)
- MenuBuilder.OnSelectionChanged(String)
- MenuBuilder.OnSubmenuHidden(RazorBlock)
- MenuBuilder.OnSubmenuHidden(String)
- MenuBuilder.OnSubmenuHiding(RazorBlock)
- MenuBuilder.OnSubmenuHiding(String)
- MenuBuilder.OnSubmenuShowing(RazorBlock)
- MenuBuilder.OnSubmenuShowing(String)
- MenuBuilder.OnSubmenuShown(RazorBlock)
- MenuBuilder.OnSubmenuShown(String)
- MenuBuilder.Option(String, Object)
- MenuBuilder.Orientation(Orientation)
- MenuBuilder.RtlEnabled(Boolean)
- MenuBuilder.RtlEnabled(JS)
- MenuBuilder.SelectByClick(Boolean)
- MenuBuilder.SelectByClick(JS)
- MenuBuilder.SelectedExpr(JS)
- MenuBuilder.SelectedExpr(String)
- MenuBuilder.SelectedItem(Object)
- MenuBuilder.SelectionMode(MenuSelectionMode)
- MenuBuilder.ShowFirstSubmenuMode(Action<MenuShowFirstSubmenuModeBuilder>)
- MenuBuilder.ShowFirstSubmenuMode(ShowSubmenuMode)
- MenuBuilder.ShowSubmenuMode(Action<MenuShowSubmenuModeBuilder>)
- MenuBuilder.ShowSubmenuMode(ShowSubmenuMode)
- MenuBuilder.SubmenuDirection(SubmenuDirection)
- MenuBuilder.TabIndex(Int32)
- MenuBuilder.TabIndex(JS)
- MenuBuilder.Visible(Boolean)
- MenuBuilder.Visible(JS)
- MenuBuilder.Width(Double)
- MenuBuilder.Width(JS)
- MenuBuilder.Width(String)
- ToolbarItemFactory.Menu()
- WidgetFactory<TModel>.Menu()
Remarks
Call the Menu helper method to create a new Menu control. The method creates a MenuBuilder
class instance whose members allow you to specify control options.
@(Html.DevExtreme().Menu() // create a Menu
// call methods to specify control options
)
Inheritance
Object
OptionsOwnerBuilder
WidgetBuilder
MenuBuilder
See Also