Skip to main content

PopupMenuEventArgs(GridPopupMenuView, GridPopupMenuType, Int32, GridColumn) Constructor

Initializes a new instance of the PopupMenuEventArgs class with the specified settings.

Namespace: DevExpress.Mobile.DataGrid

Assembly: DevExpress.Mobile.Grid.v18.2.dll

Declaration

public PopupMenuEventArgs(
    GridPopupMenuView menu,
    GridPopupMenuType menuType,
    int rowHandle,
    GridColumn column
)

Parameters

Name Type Description
menu DevExpress.Mobile.DataGrid.GridPopupMenuView

A DevExpress.Mobile.DataGrid.GridPopupMenuView object which represents the grid’s popup menu. This value is assigned to the PopupMenuEventArgs.Menu property.

menuType GridPopupMenuType

A GridPopupMenuType enumeration value specifying the type of the invoked grid’s popup menu. This value is assigned to the PopupMenuEventArgs.MenuType property.

rowHandle Int32

An integer value specifying the handle of the row for which an end-user invokes a popup menu. This value is assigned to the PopupMenuEventArgs.RowHandle property.

column GridColumn

A GridColumn object or descendant specifying the column for which an end-user invokes a popup menu. This value is assigned to the PopupMenuEventArgs.Column property.

Remarks

Important

This documentation topic describes legacy technology. We no longer develop new functionality for the GridControl and suggest that you use the new DataGridView control instead.

Instances of the PopupMenuEventArgs class are automatically created, initialized and passed to the corresponding event handlers.

See Also