GridMenuItemClickEventArgs.MenuType Property
Gets the type of the context menu whose item was clicked.
Namespace: DevExpress.XtraGrid.Views.Grid
Assembly: DevExpress.XtraGrid.v18.2.dll
Declaration
Property Value
Type | Description |
---|---|
GridMenuType | A GridMenuType enumeration value specifying the type of the menu whose item was clicked. |
Available values:
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. |