Skip to main content
Tab

ASPxGridCommandButtonEventArgs(Object, String, ImageProperties, ButtonControlStyles, Int32, Boolean, GridCommandButtonRenderMode) Constructor

Initializes a new instance of the ASPxGridCommandButtonEventArgs class.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

public ASPxGridCommandButtonEventArgs(
    object buttonOwner,
    string text,
    ImageProperties image,
    ButtonControlStyles styles,
    int visibleIndex,
    bool isEditingItem,
    GridCommandButtonRenderMode renderMode
)

Parameters

Name Type Description
buttonOwner Object

An object that owns the processed button.

text String

A string value that is the processed command button’s text.

image ImageProperties

An ImageProperties object containing settings of an image displayed within the processed command button.

styles ButtonControlStyles

An ButtonControlStyles object that contains button style settings.

visibleIndex Int32

An integer value that specifies the visible index of a row which contains the processed command button.

isEditingItem Boolean

true, if the processed command button is displayed within the edited row; otherwise, false.

renderMode GridCommandButtonRenderMode

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

See Also