Skip to main content
Tab

ASPxCardViewCommandButtonEventArgs(CardViewCommandLayoutItem, CardViewCommandButtonType, Int32, Boolean, GridCommandButtonRenderMode, String, ImageProperties, ButtonControlStyles) Constructor

Initializes a new instance of the ASPxCardViewCommandButtonEventArgs class.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

public ASPxCardViewCommandButtonEventArgs(
    CardViewCommandLayoutItem layoutItem,
    CardViewCommandButtonType buttonType,
    int visibleIndex,
    bool isEditingCard,
    GridCommandButtonRenderMode renderMode,
    string text,
    ImageProperties image,
    ButtonControlStyles styles
)

Parameters

Name Type Description
layoutItem CardViewCommandLayoutItem

A CardViewCommandLayoutItem object, containing the processed button.

buttonType CardViewCommandButtonType

One of the CardViewCommandButtonType enumeration values identifying the type of the processed command button.

visibleIndex Int32

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

isEditingCard Boolean

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

renderMode GridCommandButtonRenderMode

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

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.

See Also