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.v18.2.dll

Declaration

public enum GridMenuType

Members

Name Description
User

A custom context menu.

Summary

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

Column

The column header context menu.

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.

See Also