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

GridViewContextMenuItem.Items Property

Gets a collection that contains the sub-items of the current context menu item.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v19.2.dll

Declaration

public GridViewContextMenuItemCollection Items { get; }

Property Value

Type Description
GridViewContextMenuItemCollection

A GridViewContextMenuItemCollection that contains the sub-items of the current context menu item.

Remarks

Use the Items property (collection) to access the sub-items of the current context menu item, if any. This collection contains only the items at the next level. To access menu items further down the menu tree, use the Items property of a subsequent menu item. If the Items property is the null reference (Nothing in Visual Basic), the current menu item does not have any sub-items.

The Items property can be also used to programmatically manage the sub-items of the current menu item. You can add, insert, remove, retrieve, and modify GridViewContextMenuItem objects from the collection.

See Also