Back to Devexpress

GridViewContextMenuItemCollection Class

aspnet-devexpress-dot-web-a8caf3bb.md

latest3.9 KB
Original Source

GridViewContextMenuItemCollection Class

A collection that maintains context menu items.

Namespace : DevExpress.Web

Assembly : DevExpress.Web.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
public class GridViewContextMenuItemCollection :
    MenuItemCollection
vb
Public Class GridViewContextMenuItemCollection
    Inherits MenuItemCollection

The following members return GridViewContextMenuItemCollection objects:

Remarks

The GridViewContextMenuItemCollection class manages a collection of GridViewContextMenuItem objects. The properties and methods exposed by the collection can be used to perform common collection operations, such as adding new or deleting existing items. Individual items can be accessed using indexer notation.

The GridViewContextMenuItemCollection collection can be accessed via the ASPxGridViewContextMenuEventArgs.Items and ASPxGridViewContextMenuItemVisibilityEventArgs.Items event argument properties.

Implements

IList

ICollection

IStateManager

DevExpress.Utils.IAssignableCollection

IList<MenuItem>

ICollection<MenuItem>

IEnumerable<MenuItem>

IHierarchicalEnumerable

IEnumerable

Inheritance

Object StateManagedCollectionBase Collection Collection<MenuItem> HierarchicalCollection<MenuItem> MenuItemCollection GridViewContextMenuItemCollection

See Also

GridViewContextMenuItemCollection Members

Context Menu

Context Menu

Grid Context Menu Items

Grid View

Online Demo: Grid - Context Menu

DevExpress.Web Namespace