[]
Defines a builder to configurate MenuBase<T>.
public abstract class MenuBaseBuilder<T, TControl, TBuilder> : ComboBoxBaseBuilder<T, TControl, TBuilder>, IHtmlString where TControl : MenuBase<T> where TBuilder : MenuBaseBuilder<T, TControl, TBuilder>
Name | Description |
---|---|
T | |
TControl | |
TBuilder |
Name | Description |
---|---|
MenuBaseBuilder(TControl) | Creates one MenuBaseBuilder<T, TControl, TBuilder> instance to configurate |
Name | Description |
---|---|
AriaLabel(string) | Configurates AriaLabel. Sets the aria label property of the menu element. |
AutoSelectOnFocus(bool) | Configurates AutoSelectOnFocus. Sets a value that determines whether the first enabled item is automatically focused/selected in the menu. |
CloseOnLeave(bool) | Configurates CloseOnLeave. Sets a value that determines whether the menu should close automatically when the mouse leave the items. |
Command(Action<MenuCommandBuilder>) | Configurates Command. |
CommandParameterPath(string) | Configurates CommandParameterPath. |
CommandPath(string) | Configurates CommandPath. |
Header(string) | Configurates Header. |
IsButton(bool) | Configurates IsButton. Sets a value that determines whether menu should act as a split button instead of a regular menu. |
OnClientItemClicked(string) | Configurates the OnClientItemClicked client event. |
OpenOnHover(bool) | Configurates OpenOnHover. Gets or sets a value that determines whether the menu should open and close automatically when the mouse hovers over the items. |
Owner(string) | Configurates Owner. Sets the selector string of the element that owns this menu. |
SubItemsPath(string) | Configurates SubItemsPath. Sets the name of the property that contains an array with items to be displayed in a sub-menu. |