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

GridMenuType Enum

Lists values specifying Grid View context menu types.

Namespace: DevExpress.XtraGrid.Views.Grid

Assembly: DevExpress.XtraGrid.v19.1.dll


public enum GridMenuType


Name Description

A custom context menu.


The footer cell context menu invoked when right-clicking within a summary footer.


The column header context menu.


The context menu invoked when right-clicking the group panel.


The initially empty context menu that is created when you right-click on a data or group row.

When you right-click within a row or group row, the Data Grid creates an empty menu and fires the GridView.PopupMenuShowing event (the event’s PopupMenuShowingEventArgs.MenuType parameter is set to Row). If you leave this menu intact (empty), it will not be displayed after your PopupMenuShowing event handler is complete. To display the menu, add custom menu items using the e.Menu.Items.Add method.


The auto filter row menu which allows you to select a comparison operator.

Related API Members

The following properties accept/return GridMenuType values:


Values listed by this enumeration are used to set the GridMenuItemClickEventArgs.MenuType property which is exposed via the GridView.GridMenuItemClick event’s parameter.

See Also