Skip to main content

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

Creates and initializes a new GridMenuItemClickEventArgs object.

Namespace: DevExpress.XtraGrid.Views.Grid

Assembly: DevExpress.XtraGrid.v24.1.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

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

See Also