Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

GridMenuItemClickEventArgs(GridColumn, GridSummaryItemCollection, GridSummaryItem, SummaryItemType, String, GridMenuType, DXMenuItem) Constructor

In This Article

Initializes a new instance of the GridMenuItemClickEventArgs class.

Namespace: DevExpress.XtraGrid.Views.Grid

Assembly: DevExpress.XtraGrid.v24.2.dll

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

#Declaration

public GridMenuItemClickEventArgs(
    GridColumn column,
    GridSummaryItemCollection items,
    GridSummaryItem item,
    SummaryItemType type,
    string format,
    GridMenuType mtype,
    DXMenuItem menuItem
)

#Parameters

Name Type Description
column GridColumn

A GridColumn object or descendant representing the column whose footer cell or header was clicked to invoke a menu. This value is assigned to the GridMenuItemClickEventArgs.Column property.

items GridSummaryItemCollection

A GridSummaryItemCollection object representing the View’s group summaries collection. This value is assigned to the GridMenuItemClickEventArgs.SummaryItems property.

item GridSummaryItem

A GridSummaryItem object specifying summary settings for the footer cell where the context menu was activated. This value is assigned to the GridMenuItemClickEventArgs.SummaryItem property.

type SummaryItemType

A SummaryItemType enumeration value representing the summary item’s type. This value is assigned to the GridMenuItemClickEventArgs.SummaryType property.

format String

A string value representing the summary value’s formatting. This value is assigned to the GridMenuItemClickEventArgs.SummaryFormat property.

mtype GridMenuType

A GridMenuType enumeration value specifying the type of the menu whose item was clicked. This value is assigned to the GridMenuItemClickEventArgs.MenuType property.

menuItem DXMenuItem

A DXMenuItem object representing the clicked DX menu item. This value is assigned to the GridMenuItemClickEventArgs.DXMenuItem property.

See Also