Skip to main content
Tab

ASPxGridCustomCommandButtonEventArgs(GridCustomCommandButton, Int32, Boolean, GridCommandButtonRenderMode) Constructor

Initializes a new instance of the ASPxGridCustomCommandButtonEventArgs class with specified settings.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v23.2.dll

NuGet Package: DevExpress.Web

Declaration

public ASPxGridCustomCommandButtonEventArgs(
    GridCustomCommandButton button,
    int visibleIndex,
    bool isEditingItem,
    GridCommandButtonRenderMode renderMode
)

Parameters

Name Type Description
button GridCustomCommandButton

A GridCustomCommandButton object that is the currently processed button.

visibleIndex Int32

An integer value that specifies the visible index of a data item (row, card or record) which contains the processed command button.

isEditingItem Boolean

true, if the processed command button is displayed in the edited data item (row, card or record); otherwise, false.

renderMode GridCommandButtonRenderMode

One of the GridCommandButtonRenderMode enumeration values specifying the command button render mode.

See Also