MenuItemCollection Class
Represents a collection that maintains menu items.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
Declaration
Related API Members
The following members return MenuItemCollection objects:
Remarks
Menu items are stored within collections which are represented by instances of the MenuItemCollection class. A collection of root items can be accessed via the ASPxMenuBase.Items property of a menu control; a collection of a menu item’s subitems is available through the MenuItem.Items property of the item.
The properties and methods exposed by the MenuItemCollection class can be used to perform common collection operations such as adding new or deleting the existing menu items. Each item of the collection is represented by a MenuItem object. Individual menu items can be accessed using either indexer notation, by their names or display texts using the specific methods of the collection.