GridMenuType Enum
Lists values specifying Grid View context menu types.
Namespace: DevExpress.XtraGrid.Views.Grid
Assembly: DevExpress.XtraGrid.v18.1.dll
Declaration
Members
Name | Description |
---|---|
User
|
A custom context menu. |
Summary
|
The footer cell context menu invoked when right-clicking within a summary footer. |
Column
|
|
Group
|
The context menu invoked when right-clicking the group panel. |
Row
|
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. |
AutoFilter
|
The auto filter row menu which allows you to select a comparison operator. |
Related API Members
The following properties accept/return GridMenuType values:
Remarks
Values listed by this enumeration are used to set the GridMenuItemClickEventArgs.MenuType property which is exposed via the GridView.GridMenuItemClick event’s parameter.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the GridMenuType enum.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.