Skip to main content

BootstrapMenuItem Properties

Represents an individual menu item within menu controls.
Name Description
Badge Gets settings of a badge displayed within the menu item.
BeginGroup Gets or sets a value that specifies whether the current menu item starts a group. Inherited from MenuItem.
Checked Gets or sets whether the menu item is checked. Inherited from MenuItem.
ClientEnabled Gets or sets a value that indicates whether the menu item is enabled on the client. Inherited from MenuItem.
ClientVisible Gets or sets a value that specifies the menu item’s initial visibility state on the client. Inherited from MenuItem.
Collection Gets the collection to which an item belongs. Inherited from CollectionItem.
CssClass Gets or sets the name of a CSS class applied to the menu item element.
DataItem Gets the data item that is bound to the menu item. Inherited from MenuItem.
DataPath Gets the path to the data that is bound to the menu item. Inherited from MenuItem.
Depth Gets the level at which a menu item is displayed. Inherited from MenuItem.
Enabled Gets or sets a value that indicates whether the menu item is enabled, allowing the item to respond to end-user interactions. Inherited from MenuItem.
GroupName Gets or sets the name of a logical check group to which the menu item belongs. Inherited from MenuItem.
HasChildren Returns a value that indicates whether the current menu item has any child items. Inherited from MenuItem.
HasVisibleChildren Returns a value that indicates whether the current menu item has visible child items. Inherited from MenuItem.
IconCssClass Gets or sets the CSS class of the icon displayed within the menu item.
Index Gets or sets the item’s index within the collection. Inherited from CollectionItem.
IndexPath For internal use only. Inherited from MenuItem.
Items Gets a collection that contains the submenu items of the current menu item.
Menu Gets the menu object to which the current menu item belongs.
Name Gets or sets the unique identifier name for the current menu item. Inherited from MenuItem.
NavigateUrl Gets or sets an URL which defines the navigation location. Inherited from MenuItem.
Parent Gets the immediate parent menu item to which the current menu item belongs.
Selected Gets or sets a value that specifies whether the current menu item is selected. Inherited from MenuItem.
SubMenuTemplate Gets or sets a template used for displaying the client region’s content of the current menu item’s submenus. Inherited from MenuItem.
Target Gets or sets the window or frame at which to target the contents of the URL associated with the current menu item. Inherited from MenuItem.
Template Gets or sets a template used to display the content of the current menu item. Inherited from MenuItem.
Text Gets or sets the text content of the current menu item. Inherited from MenuItem.
TextCssClass Gets or sets the name of a CSS class applied to the item’s text.
TextTemplate Gets or sets a template used for displaying the text content of the current menu item. Inherited from MenuItem.
ToolTip Gets or sets the current menu item’s tooltip text. Inherited from MenuItem.
Visible Gets or sets a value specifying the visibility of the current menu item. Inherited from MenuItem.
VisibleIndex Gets or 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). Inherited from MenuItem.
See Also