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.1.dll

Declaration

public PopupMenuEventArgs(
    GridPopupMenuView menu,
    GridPopupMenuType menuType,
    int rowHandle,
    GridColumn column
)
Public Sub New(
    menu As GridPopupMenuView,
    menuType As GridPopupMenuType,
    rowHandle As Integer,
    column As GridColumn
)

Parameters

Type Name Description
DevExpress.Mobile.DataGrid.GridPopupMenuView menu

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

GridPopupMenuType menuType

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

Int32 rowHandle

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.

GridColumn column

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.

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

See Also