Skip to main content
A newer version of this page is available. .
Tab

ASPxGridViewContextMenuItemClickEventArgs(GridViewContextMenuType, GridViewContextMenuItem, Int32) Constructor

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

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v19.2.dll

Declaration

public ASPxGridViewContextMenuItemClickEventArgs(
    GridViewContextMenuType menuType,
    GridViewContextMenuItem item,
    int elementIndex
)

Parameters

Name Type Description
menuType GridViewContextMenuType

One of the GridViewContextMenuType value that specifies the type of menu that has been right clicked by the user. This value is assigned to the ASPxGridViewContextMenuItemClickEventArgs.MenuType property.

item GridViewContextMenuItem

A GridViewContextMenuItem object that is an item that has been right clicked by the user. This value is assigned to the ASPxGridViewContextMenuItemClickEventArgs.Item property.

elementIndex Int32

A zero-based integer index that identifies the grid element being right clicked by the user. This value is assigned to the ASPxGridViewContextMenuItemClickEventArgs.ElementIndex property.

See Also