Skip to main content
A newer version of this page is available. .

BootstrapGridViewCustomButtonEventArgs(GridViewCommandColumnCustomButton, Int32, GridViewTableCommandCellType, Boolean) Constructor

Initializes a new instance of the BootstrapGridViewCustomButtonEventArgs class.

Namespace: DevExpress.Web.Bootstrap

Assembly: DevExpress.Web.Bootstrap.v18.2.dll

Declaration

public BootstrapGridViewCustomButtonEventArgs(
    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.

Remarks

Instances of the BootstrapGridViewCustomButtonEventArgs class are automatically created, initialized and passed to the corresponding event handlers.

See Also