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, MenuItem) Constructor

In This Article

Creates and initializes a new GridMenuItemClickEventArgs object.

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,
    MenuItem menuItem
)

#Parameters

Name Type Description
column GridColumn

A GridColumn object representing the column containing an element where the context menu was activated. This value is assigned to the GridMenuItemClickEventArgs.Column property.

items GridSummaryItemCollection

A GridSummaryItemCollection object representing the group summaries collection defined for the sender View. This value is assigned to the GridMenuItemClickEventArgs.SummaryItems property.

item GridSummaryItem

A GridSummaryItem object representing a summary item whose corresponding footer cell was clicked to invoke the menu. This value is assigned to the GridMenuItemClickEventArgs.SummaryItem property.

type SummaryItemType

A SummaryItemType enumeration value specifying the aggregate function type used by the summary item. This value is assigned the GridMenuItemClickEventArgs.SummaryType property.

format String

A String value specifying the summary value formatting. This value is assigned to the GridMenuItemClickEventArgs.SummaryFormat property.

mtype GridMenuType

A GridMenuType enumeration value specifying the context menu type. This value is assigned to the GridMenuItemClickEventArgs.MenuType property.

menuItem MenuItem

The clicked menu item.

See Also