ASPxGridViewContextMenuItemClickEventArgs.ElementIndex Property
Returns the processed element index.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.1.dll
NuGet Package: DevExpress.Web
Declaration
Property Value
Type | Description |
---|---|
Int32 | An integer value that specifies the processed element index. |
Remarks
The ElementIndex property value is dependent upon the ASPxGridViewContextMenuItemClickEventArgs.MenuType property value.
- For a row menu (the ASPxGridViewContextMenuItemClickEventArgs.MenuType property is equal to Rows) the ElementIndex property returns the current row visible index.
- For a column menu (the ASPxGridViewContextMenuItemClickEventArgs.MenuType property is equal to Columns) the ElementIndex property returns the current column index.
- For a footer and group panel menus (the ASPxGridViewContextMenuItemClickEventArgs.MenuType property is equal to Footer or GroupPanel) the ElementIndex property returns negative one (-1).
See Also