Skip to main content

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

Initializes a new instance of the GridMenuItemClickEventArgs class.

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,
    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