Skip to main content

ASPxCardViewCustomCommandButtonEventArgs(CardViewCustomCommandButton, Int32, Boolean) Constructor

Initializes a new instance of the ASPxCardViewCustomCommandButtonEventArgs class.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v22.2.dll

NuGet Package: DevExpress.Web


public ASPxCardViewCustomCommandButtonEventArgs(
    CardViewCustomCommandButton button,
    int visibleIndex,
    bool isEditingCard


Name Type Description
button CardViewCustomCommandButton

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

visibleIndex Int32

An integer value that identifies the data item by its visible index. This value is assigned to the ASPxClientCardViewCustomButtonEventArgs.visibleIndex property.

isEditingCard Boolean

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

See Also