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

Creates and initializes a new GridMenuItemClickEventArgs object.

Namespace: DevExpress.XtraGrid.Views.Grid

Assembly: DevExpress.XtraGrid.v20.2.dll

Declaration

public GridMenuItemClickEventArgs(
    GridColumn column,
    GridSummaryItemCollection items,
    GridSummaryItem item,
    SummaryItemType type,
    string format,
    GridMenuType mtype,
    MenuItem menuItem
)
Public Sub New(
    column As GridColumn,
    items As GridSummaryItemCollection,
    item As GridSummaryItem,
    type As SummaryItemType,
    format As String,
    mtype As GridMenuType,
    menuItem As 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