MenuItemFactory
Class
Defines the fluent API for configuring List<MenuItem>
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
C#
public class MenuItemFactory
Inheritance: objectMenuItemFactory
Inherited Members
Constructors
Initializes a new instance of the MenuItemFactory class.
C#
public MenuItemFactory(INavigationItemContainer<MenuItem> container, ViewContext viewContext)
The menu item
viewContextViewContextThe view context
Properties
container member.
C#
public INavigationItemContainer<MenuItem> container { get; set; }
Methods
C#
public MenuItemBuilder Add()
Returns a MenuItemBuilder with the available configuration options.