ASPxVerticalGridCommandButtonEventArgs(VerticalGridCommandRow, VerticalGridCommandButtonType, String, ImageProperties, ButtonControlStyles, Int32, GridCommandButtonRenderMode) Constructor
Initializes a new instance of the ASPxVerticalGridCommandButtonEventArgs class with specified settings.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
Declaration
public ASPxVerticalGridCommandButtonEventArgs(
VerticalGridCommandRow row,
VerticalGridCommandButtonType buttonType,
string text,
ImageProperties image,
ButtonControlStyles styles,
int visibleIndex,
GridCommandButtonRenderMode renderMode
)
Parameters
Name | Type | Description |
---|---|---|
row | VerticalGridCommandRow | A VerticalGridCommandRow object that is the command row containing the processed command button. This value is assigned to the ASPxVerticalGridCommandButtonEventArgs.Row property. |
buttonType | VerticalGridCommandButtonType | One of the VerticalGridCommandButtonType 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 data row which contains the processed command button. This value is assigned to the ASPxGridCommandButtonEventArgs.VisibleIndex 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 ASPxGridCustomCommandButtonEventArgs.RenderMode property. |