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

PopupMenuShowingEventArgs.MenuType Property

Gets the type of the Grid View’s menu to be invoked.

Namespace: DevExpress.XtraGrid.Views.Grid

Assembly: DevExpress.XtraGrid.v20.2.dll

NuGet Package: DevExpress.Win.Grid

Declaration

public GridMenuType MenuType { get; }

Property Value

Type Description
GridMenuType

A GridMenuType enumeration value that specifies the type of the Grid View’s menu to be invoked.

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.

The following code snippets (auto-collected from DevExpress Examples) contain references to the MenuType property.

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.

See Also