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

ASPxClientMenuItem.index Property

Gets the item’s index within the parent’s collection of items.

Declaration

index: number

Property Value

Type Description
number

An integer value representing the item’s zero-based index within the Items collection of the parent object (a menu or item) to which the item belongs.

Remarks

Use the index property to obtain the index of an item within its parent’s collection of items. Depending upon the type of the item’s parent object (a menu control or a menu item) this item collection can be accessed via either the ASPxMenuBase.Items or MenuItem.Items property.

See Also