[]
        
(Showing Draft Content)

C1.Web.Mvc.Fluent.MenuItemBuilder

MenuItemBuilder Class

Defines a builder to configurate MenuItem.

Inheritance
HideObjectMembers
MenuItemBuilder
Namespace: C1.Web.Mvc.Fluent
Assembly: C1.Web.Mvc.dll
Syntax
public class MenuItemBuilder : BaseBuilder<MenuItem, MenuItemBuilder>

Constructors

Name Description
MenuItemBuilder(MenuItem)

Creates one MenuItemBuilder instance to configurate obj.

Methods

Name Description
Command(Action<MenuCommandBuilder>)

Sets the Command property.

Command(string, string)

Sets the Command property.

CommandParameter(object)

Configurates CommandParameter. Sets the associated menu command parameter.

Header(string)

Configurates Header. Sets the header of the menu item.

IsSeparator(bool)

Configurates IsSeparator. Sets whether the MenuItem is a separator.