Skip to main content

MenuBuilder Members

A Menu control.

Constructors

Name Description
MenuBuilder(OptionsOwnerContext) For internal use only. Initializes a new MenuBuilder class instance.

Methods

Name Description
AccessKey(JS) Mirrors the client-side accessKey option.
AccessKey(String) Mirrors the client-side accessKey option.
ActiveStateEnabled(JS) Mirrors the client-side activeStateEnabled option.
ActiveStateEnabled(Boolean) Mirrors the client-side activeStateEnabled option.
AdaptivityEnabled(JS) Mirrors the client-side adaptivityEnabled option.
AdaptivityEnabled(Boolean) Mirrors the client-side adaptivityEnabled option.
Animation(Action<MenuAnimationBuilder>) Mirrors the client-side animation object.
CssClass(JS) Mirrors the client-side cssClass option.
CssClass(String) Mirrors the client-side cssClass option.
DataSource(JS) Mirrors the client-side dataSource option.
DataSource(IEnumerable, String[]) Binds a Menu control to a collection: Array, List, or IEnumerable.
DataSource(Func<DataSourceFactory, OptionsOwnerBuilder>) Binds a Menu control to data, allows you to configure data access from different sources: API controllers, Razor page handlers, OData services, arrays, and more.
DataSource(String, String[]) Binds a Menu control to read-only data in JSON format.
DataSourceOptions(Action<DataSourceOptionsBuilder>) Provides access to methods that mirror client-side data source options.
Disabled(JS) Mirrors the client-side disabled option.
Disabled(Boolean) Mirrors the client-side disabled option.
DisabledExpr(JS) Mirrors the client-side disabledExpr option.
DisabledExpr(String) Mirrors the client-side disabledExpr option.
DisplayExpr(JS) Mirrors the client-side displayExpr option.
DisplayExpr(String) Mirrors the client-side displayExpr option.
ElementAttr(JS) Mirrors the client-side elementAttr option, specifies attributes for the control’s root HTML element.
ElementAttr(Dictionary<String, Object>) Mirrors the client-side elementAttr option, specifies attributes for the control’s root HTML element.
ElementAttr(Object) Mirrors the client-side elementAttr option, specifies attributes for the control’s root HTML element.
ElementAttr(String, Object) Mirrors the client-side elementAttr option, specifies attributes for the control’s root HTML element.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
FocusStateEnabled(JS) Mirrors the client-side focusStateEnabled option.
FocusStateEnabled(Boolean) Mirrors the client-side focusStateEnabled option.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
Height(JS) Mirrors the client-side height option.
Height(Double) Mirrors the client-side height option.
Height(String) Mirrors the client-side height option.
HideSubmenuOnMouseLeave(JS) Mirrors the client-side hideSubmenuOnMouseLeave option.
HideSubmenuOnMouseLeave(Boolean) Mirrors the client-side hideSubmenuOnMouseLeave option.
Hint(JS) Mirrors the client-side hint option.
Hint(String) Mirrors the client-side hint option.
HoverStateEnabled(JS) Mirrors the client-side hoverStateEnabled option.
HoverStateEnabled(Boolean) Mirrors the client-side hoverStateEnabled option.
ID(JS) Specifies the id attribute for the control’s HTML element (used for nested controls within templates).
ID(String) Specifies the id attribute for the control’s HTML element.
Items(Action<CollectionFactory<MenuItemBuilder>>) Provides access to the client-side items option that represents a Menu item collection.
ItemsExpr(JS) Mirrors the client-side itemsExpr option.
ItemsExpr(String) Mirrors the client-side itemsExpr option.
ItemTemplate(JS) Specifies the client-side itemTemplate.
ItemTemplate(RazorBlock) Specifies the client-side itemTemplate.
ItemTemplate(TemplateName) Specifies the client-side itemTemplate.
ItemTemplate(String) Specifies the client-side itemTemplate.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
OnContentReady(RazorBlock) Mirrors the client-side onContentReady option.
OnContentReady(String) Mirrors the client-side onContentReady option.
OnDisposing(RazorBlock) Mirrors the client-side onDisposing option.
OnDisposing(String) Mirrors the client-side onDisposing option.
OnInitialized(RazorBlock) Mirrors the client-side onInitialized option.
OnInitialized(String) Mirrors the client-side onInitialized option.
OnItemClick(RazorBlock) Mirrors the client-side onItemClick option.
OnItemClick(String) Mirrors the client-side onItemClick option.
OnItemContextMenu(RazorBlock) Mirrors the client-side onItemContextMenu option.
OnItemContextMenu(String) Mirrors the client-side onItemContextMenu option.
OnItemRendered(RazorBlock) Mirrors the client-side onItemRendered option.
OnItemRendered(String) Mirrors the client-side onItemRendered option.
OnOptionChanged(RazorBlock) Mirrors the client-side onOptionChanged option.
OnOptionChanged(String) Mirrors the client-side onOptionChanged option.
OnSelectionChanged(RazorBlock) Mirrors the client-side onSelectionChanged option.
OnSelectionChanged(String) Mirrors the client-side onSelectionChanged option.
OnSubmenuHidden(RazorBlock) Mirrors the client-side onSubmenuHidden option.
OnSubmenuHidden(String) Mirrors the client-side onSubmenuHidden option.
OnSubmenuHiding(RazorBlock) Mirrors the client-side onSubmenuHiding option.
OnSubmenuHiding(String) Mirrors the client-side onSubmenuHiding option.
OnSubmenuShowing(RazorBlock) Mirrors the client-side onSubmenuShowing option.
OnSubmenuShowing(String) Mirrors the client-side onSubmenuShowing option.
OnSubmenuShown(RazorBlock) Mirrors the client-side onSubmenuShown option.
OnSubmenuShown(String) Mirrors the client-side onSubmenuShown option.
Option(String, Object) Specifies an option by its name.
Orientation(Orientation) Mirrors the client-side orientation option.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
Render() Inherited from WidgetBuilder.
RtlEnabled(JS) Mirrors the client-side rtlEnabled option.
RtlEnabled(Boolean) Mirrors the client-side rtlEnabled option.
SelectByClick(JS) Mirrors the client-side selectByClick option.
SelectByClick(Boolean) Mirrors the client-side selectByClick option.
SelectedExpr(JS) Mirrors the client-side selectedExpr option.
SelectedExpr(String) Mirrors the client-side selectedExpr option.
SelectedItem(Object) Mirrors the client-side selectedItem option.
SelectionMode(MenuSelectionMode) Mirrors the client-side selectionMode option.
ShowFirstSubmenuMode(ShowSubmenuMode) Mirrors the client-side showFirstSubmenuMode option.
ShowFirstSubmenuMode(Action<MenuShowFirstSubmenuModeBuilder>) Mirrors the client-side showFirstSubmenuMode object.
ShowSubmenuMode(ShowSubmenuMode) Mirrors the client-side showSubmenuMode option.
ShowSubmenuMode(Action<MenuShowSubmenuModeBuilder>) Mirrors the client-side showSubmenuMode object.
SubmenuDirection(SubmenuDirection) Mirrors the client-side submenuDirection option.
TabIndex(JS) Mirrors the client-side tabIndex option.
TabIndex(Int32) Mirrors the client-side tabIndex option.
ToString() Inherited from WidgetBuilder.
ToTemplate() Renders the control as a template string for use in another control’s template. Inherited from WidgetBuilder.
Visible(JS) Mirrors the client-side visible option.
Visible(Boolean) Mirrors the client-side visible option.
Width(JS) Mirrors the client-side width option.
Width(Double) Mirrors the client-side width option.
Width(String) Mirrors the client-side width option.
See Also