GridViewContextMenuItem.Items Property
Gets a collection that contains the sub-items of the current context menu item.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
NuGet Package: DevExpress.Web
#Declaration
public GridViewContextMenuItemCollection Items { get; }
#Property Value
Type | Description |
---|---|
Grid |
A Grid |
#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.