BootstrapMenuItemBuilder Members
Represents an individual menu item within menu controls.Methods
Name | Description |
---|---|
Badge(Action<BootstrapBadgePropertiesBuilder>) | Settings of a badge displayed within the menu item. |
BeginGroup(Boolean) | Sets a value that specifies whether the current menu item starts a group. |
Checked(Boolean) | Sets whether the menu item is checked. |
ClientEnabled(Boolean) | Sets a value that indicates whether the menu item is enabled on the client. |
ClientVisible(Boolean) | Sets a value that specifies the menu item’s initial visibility state on the client. |
CssClass(String) | Sets the name of a CSS class applied to the menu item element. |
Enabled(Boolean) | Sets a value that indicates whether the menu item is enabled, allowing the item to respond to end-user interactions. |
Equals(Object) | Determines whether the specified object is equal to the current object. Inherited from Object. |
Equals(Object, Object) | Determines whether the specified object instances are considered equal. Inherited from Object. |
GetHashCode() | Serves as the default hash function. Inherited from Object. |
GetType() | Gets the Type of the current instance. Inherited from Object. |
GroupName(String) | Sets the name of a logical check group to which the menu item belongs. |
IconCssClass(String) | Sets the CSS class of the icon displayed within the menu item. |
Items(Action<BootstrapMenuItemCollectionBuilder>) | Collection that contains the submenu items of the current menu item. |
MemberwiseClone() | Creates a shallow copy of the current Object. Inherited from Object. |
Name(String) | Sets the unique identifier name for the current menu item. |
NavigateUrl(Action<ControlRouteBuilder>) | Sets an URL which defines the navigation location. |
NavigateUrl(String) | Sets an URL which defines the navigation location. |
ReferenceEquals(Object, Object) | Determines whether the specified Object instances are the same instance. Inherited from Object. |
Selected(Boolean) | Sets a value that specifies whether the current menu item is selected. |
SubMenuTemplate(TemplateContent) | Sets a template used for displaying the client region’s content of the current menu item’s submenus. |
SubMenuTemplate(TemplateContentCallback<BootstrapMenuItemTemplateContainerSettings>) | Sets a template used for displaying the client region’s content of the current menu item’s submenus. |
Target(String) | Sets the window or frame at which to tarthe contents of the URL associated with the current menu item. |
Template(TemplateContent) | Sets a template used to display the content of the current menu item. |
Template(TemplateContentCallback<BootstrapMenuItemTemplateContainerSettings>) | Sets a template used to display the content of the current menu item. |
Text(String) | Sets the text content of the current menu item. |
TextCssClass(String) | Sets the name of a CSS class applied to the item’s text. |
TextTemplate(TemplateContent) | Sets a template used for displaying the text content of the current menu item. |
TextTemplate(TemplateContentCallback<BootstrapMenuItemTemplateContainerSettings>) | Sets a template used for displaying the text content of the current menu item. |
ToolTip(String) | Sets the current menu item’s tooltip text. |
ToString() | Returns a string that represents the current object. Inherited from Object. |
Visible(Boolean) | Sets a value specifying the visibility of the current menu item. |
VisibleIndex(Int32) | Sets a value specifying the position of the current menu item amongst the visible items in a submenu (or at a menu’s root level). |
See Also