Skip to main content

BootstrapClientMenuItem Methods

Represents a client-side equivalent of the menu’s BootstrapMenuItem object.
Name Description
GetBadgeIconCssClass Gets the CSS class of the icon displayed within the menu item badge.
GetBadgeText Gets the text displayed within the menu item badge.
GetChecked Indicates whether the menu item is checked. Inherited from ASPxClientMenuItem.
GetEnabled Returns a value specifying whether a menu item is enabled. Inherited from ASPxClientMenuItem.
GetIconCssClass Gets the CSS class of the icon displayed by the menu item.
GetImageUrl Obsolete. Returns the URL pointing to the image displayed within the menu item.
GetItem(index) Returns the current menu item’s immediate subitem specified by its index.
GetItemByName(name) Returns the current menu item’s subitem specified by its name.
GetItemCount Returns the number of the current menu item’s immediate child items. Inherited from ASPxClientMenuItem.
GetNavigateUrl Gets a URL which defines the navigation location for the menu item. Inherited from ASPxClientMenuItem.
GetText Returns text displayed within the menu item. Inherited from ASPxClientMenuItem.
GetVisible Returns a value specifying whether a menu item is displayed. Inherited from ASPxClientMenuItem.
SetBadgeIconCssClass(cssClass) Sets the CSS class of the icon displayed within the menu item badge.
SetBadgeText(text) Sets the text displayed within the menu item badge.
SetChecked(value) Specifies whether the menu item is checked. Inherited from ASPxClientMenuItem.
SetEnabled(value) Specifies whether the menu item is enabled. Inherited from ASPxClientMenuItem.
SetIconCssClass(cssClass) Sets the CSS class of the icon displayed by the menu item.
SetImageUrl(value) Obsolete. Sets the URL which points to the image displayed within the menu item.
SetNavigateUrl(value) Specifies a URL which defines the navigation location for the menu item. Inherited from ASPxClientMenuItem.
SetText(value) Sets the text to be displayed within the menu item. Inherited from ASPxClientMenuItem.
SetVisible(value) Specifies the menu item’s visibility. Inherited from ASPxClientMenuItem.
See Also