[]
        
(Showing Draft Content)

C1.Web.Mvc.MenuBase-1

MenuBase<T> Class

The Menu control shows a text element with a drop-down list of commands that the user can invoke by click or touch.

Namespace: C1.Web.Mvc
Assembly: C1.Web.Mvc.dll
Syntax
public abstract class MenuBase<T> : ComboBoxBase<T>, IHtmlString, ITemplate, IDropDown
Type Parameters
Name Description
T

Constructors

Name Description
MenuBase(HtmlHelper, string)

Creates one MenuBase<T> instance.

Properties

Name Description
AriaLabel

Gets or sets the aria label property of the menu element.

AutoSelectOnFocus

Gets or sets a value that determines whether the first enabled item is automatically focused/selected in the menu.

CloseOnLeave

Gets or sets a value that determines whether the menu should close automatically when the mouse leave the items.

Command
CommandParameterPath
CommandPath
Header
IsButton

Gets or sets a value that determines whether menu should act as a split button instead of a regular menu.

OnClientItemClicked
OpenOnHover

Gets or sets a value that determines whether the menu should open and close automatically when the mouse hovers over the items.

Owner

Gets or sets the selector string of the element that owns this menu.

SubItemsPath

Gets or sets the name of the property that contains an array with items to be displayed in a sub-menu.

Extension Methods