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

ASPxClientMenuItem Members

Represents a client-side equivalent of the menu’s MenuItem object.

Properties

Name Description
index Gets the item’s index within the parent’s collection of items.
indexPath For internal use only.
menu Gets the menu object to which the current item belongs.
name Gets the name that uniquely identifies the menu item.
parent Gets the immediate parent item to which the current item belongs.

Methods

Name Description
GetChecked Indicates whether the menu item is checked.
GetEnabled Returns a value specifying whether a menu item is enabled.
GetImageUrl 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.
GetNavigateUrl Gets a URL which defines the navigation location for the menu item.
GetText Returns text displayed within the menu item.
GetVisible Returns a value specifying whether a menu item is displayed.
SetChecked(value) Specifies whether the menu item is checked.
SetEnabled(value) Specifies whether the menu item is enabled.
SetImageUrl(value) 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.
SetText(value) Sets the text to be displayed within the menu item.
SetVisible(value) Specifies the menu item’s visibility.
See Also