ASPxGridViewContextMenuItemClickEventArgs(GridViewContextMenuType, GridViewContextMenuItem, Int32) Constructor
Initializes a new instance of the ASPxGridViewContextMenuItemClickEventArgs class with the specified settings.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v23.2.dll
NuGet Package: DevExpress.Web
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. |