Back to Devexpress

GridMenuItemClickEventArgs.MenuType Property

windowsforms-devexpress-dot-xtragrid-dot-views-dot-grid-dot-gridmenuitemclickeventargs-d1c81409.md

latest2.9 KB
Original Source

GridMenuItemClickEventArgs.MenuType Property

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

Namespace : DevExpress.XtraGrid.Views.Grid

Assembly : DevExpress.XtraGrid.v25.2.dll

NuGet Packages : DevExpress.Win.Grid, DevExpress.Win.Navigation

Declaration

csharp
public GridMenuType MenuType { get; }
vb
Public ReadOnly Property MenuType As GridMenuType

Property Value

TypeDescription
GridMenuType

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

|

Available values:

NameDescription
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.

| | AutoFilter |

Context menu for the auto-filter row.

| | GroupRow |

Context menu for a group row.

|

See Also

Popup and Context Menus

GridMenuItemClickEventArgs Class

GridMenuItemClickEventArgs Members

DevExpress.XtraGrid.Views.Grid Namespace