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

MenuItemCollection Class

Represents a collection that maintains menu items.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v18.2.dll


public class MenuItemCollection :

The following members accept/return MenuItemCollection objects:

Library Related API Members
ASP.NET Controls and MVC Extensions ASPxMenuBase.Items
ASP.NET Bootstrap Controls BootstrapCardViewToolbarItemBase.Items


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.

See Also