Skip to main content
A newer version of this page is available. .

MenuItemBuilder Methods

Represents a Menu item.
Name Description
BeginGroup(JS) Mirrors the client-side beginGroup option.
BeginGroup(Boolean) Mirrors the client-side beginGroup option.
CloseMenuOnClick(JS) Mirrors the client-side closeMenuOnClick option.
CloseMenuOnClick(Boolean) Mirrors the client-side closeMenuOnClick option.
Disabled(JS) Mirrors the client-side disabled option.
Disabled(Boolean) Mirrors the client-side disabled option.
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.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
Icon(JS) Mirrors the client-side icon option.
Icon(String) Mirrors the client-side icon option.
Items(Action<CollectionFactory<MenuItemBuilder>>) Provides access to the client-side items option that represents a Menu item collection.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
Option(String, Object) Specifies an option by its name.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
Selectable(JS) Mirrors the client-side selectable option.
Selectable(Boolean) Mirrors the client-side selectable option.
Selected(JS) Mirrors the client-side selected option.
Selected(Boolean) Mirrors the client-side selected option.
Template(JS) Specifies the client-side template.
Template(RazorBlock) Specifies the client-side template.
Template(TemplateName) Specifies the client-side template.
Template(String) Specifies the client-side template.
Text(JS) Mirrors the client-side text option.
Text(String) Mirrors the client-side text option.
ToString() Returns a string that represents the current object. Inherited from Object.
Visible(JS) Mirrors the client-side visible option.
Visible(Boolean) Mirrors the client-side visible option.
See Also