Skip to main content

BootstrapMenuItem Members

Represents an individual menu item within menu controls.

Constructors

Name Description
BootstrapMenuItem() Initializes a new instance of the BootstrapMenuItem class with default settings.
BootstrapMenuItem(String, String, String, String, String) Initializes a new instance of the BootstrapMenuItem class with specified settings.
BootstrapMenuItem(String, String, String, String) Initializes a new instance of the BootstrapMenuItem class with specified settings.
BootstrapMenuItem(String, String, String) Initializes a new instance of the BootstrapMenuItem class with specified settings.
BootstrapMenuItem(String, String) Initializes a new instance of the BootstrapMenuItem class with specified settings.
BootstrapMenuItem(String) Initializes a new instance of the BootstrapMenuItem class with specified text.

Properties

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.

Methods

Name Description
Assign(CollectionItem) Copies the public properties from the specified object to the current one.
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.
FindControl(String) Searches the current naming container for a server control with the specified id parameter. Inherited from MenuItem.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns the string that represents the current object. Inherited from MenuItem.
See Also