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

GridMenuItemClickEventArgs.MenuType Property

Gets the type of the context menu whose item was clicked.

Namespace: DevExpress.XtraGrid.Views.Grid

Assembly: DevExpress.XtraGrid.v19.2.dll

Declaration

public GridMenuType MenuType { get; }

Property Value

Type Description
GridMenuType

A GridMenuType enumeration value specifying the type of the menu whose item was clicked.

Available values:

Name Description
User

Custom context menu.

Summary

Context menu for a summary footer.

Column

Context menu for a column header.

Group

Context menu for the group panel.

Row

Context menu for a data row. The data row context menu is empty. Populate the menu with commands in a GridView.PopupMenuShowing event handler.

AutoFilter

Context menu for the auto-filter row.

GroupRow

Context menu for a group row.

See Also