ASPxGridViewCommandButtonEventArgs(GridViewCommandColumn, ColumnCommandButtonType, String, ImageProperties, ButtonControlStyles, Int32, Boolean, GridCommandButtonRenderMode) Constructor
Provides data for the ASPxGridView.CommandButtonInitialize event.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
Declaration
public ASPxGridViewCommandButtonEventArgs(
GridViewCommandColumn column,
ColumnCommandButtonType buttonType,
string text,
ImageProperties image,
ButtonControlStyles styles,
int visibleIndex,
bool isEditingRow,
GridCommandButtonRenderMode renderMode
)
Parameters
Name | Type | Description |
---|---|---|
column | GridViewCommandColumn | A GridViewCommandColumn object that is the command column containing the processed command button. This value is assigned to the ASPxGridViewCommandButtonEventArgs.Column property. |
buttonType | ColumnCommandButtonType | One of the ColumnCommandButtonType enumeration values identifying the type of the processed command button. |
text | String | A string value that is the processed command button’s text. This value is assigned to the ASPxGridCommandButtonEventArgs.Text property. |
image | ImageProperties | An ImageProperties object containing settings of an image displayed within the processed command button. This value is assigned to the ASPxGridCommandButtonEventArgs.Image property. |
styles | ButtonControlStyles | An ButtonControlStyles object that contains button style settings.This value is assigned to the ASPxGridCommandButtonEventArgs.Styles property. |
visibleIndex | Int32 | An integer value that specifies the visible index of a row which contains the processed command button. This value is assigned to the ASPxGridCommandButtonEventArgs.VisibleIndex property. |
isEditingRow | Boolean |
|
renderMode | GridCommandButtonRenderMode | One of the GridCommandButtonRenderMode enumeration values specifying the type of the command button currently being initialized. This value is assigned to the ASPxGridCommandButtonEventArgs.RenderMode property. |