BootstrapGridViewCommandButtonEventArgs(BootstrapGridViewCommandColumn, ColumnCommandButtonType, String, ImageProperties, ButtonControlStyles, Int32, Boolean, GridCommandButtonRenderMode) Constructor
Provides data for the ASPxGridView.CommandButtonInitialize event.
Namespace: DevExpress.Web.Bootstrap
Assembly: DevExpress.Web.Bootstrap.v24.1.dll
NuGet Package: DevExpress.Web.Bootstrap
Declaration
public BootstrapGridViewCommandButtonEventArgs(
BootstrapGridViewCommandColumn column,
ColumnCommandButtonType buttonType,
string text,
ImageProperties image,
ButtonControlStyles styles,
int visibleIndex,
bool isEditingRow,
GridCommandButtonRenderMode renderMode
)
Parameters
Name | Type | Description |
---|---|---|
column | BootstrapGridViewCommandColumn | A BootstrapGridViewCommandColumn object that is the command column containing the processed command button. This value is assigned to the BootstrapGridViewCommandButtonEventArgs.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 | true, if the processed command button is displayed within the edited row; otherwise, false. This value is assigned to the ASPxGridViewCommandButtonEventArgs.IsEditingRow property. |
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. |
Remarks
Instances of the BootstrapGridViewCommandButtonEventArgs class are automatically created, initialized and passed to the corresponding event handlers.