Skip to main content
Tab

ASPxGridViewCustomButtonEventArgs(GridViewCommandColumnCustomButton, Int32, GridViewTableCommandCellType, Boolean) Constructor

Initializes a new instance of the ASPxGridViewCustomButtonEventArgs class.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.2.dll

Declaration

public ASPxGridViewCustomButtonEventArgs(
    GridViewCommandColumnCustomButton button,
    int visibleIndex,
    GridViewTableCommandCellType cellType,
    bool isEditingRow
)

Parameters

Name Type Description
button GridViewCommandColumnCustomButton

A GridViewCommandColumnCustomButton object that represents the custom button currently being initialized.

visibleIndex Int32

An integer value that identifies the row by its visible index. This value is assigned to the ASPxClientGridViewCustomButtonEventArgs.visibleIndex property.

cellType GridViewTableCommandCellType

A GridViewTableCommandCellType enumeration value that specifies in which row a command cell is displayed. This value is assigned to the ASPxGridViewCustomButtonEventArgs.CellType property.

isEditingRow Boolean

true, if the processed custom button is displayed within the row currently being edited; otherwise, false.

See Also