All docs
V21.1
21.1
20.2
20.1
19.2
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.
Tab

ASPxCardViewHeaderFilterEditorInitializeEventArgs.Column Property

Gets the column to which the processed editor belongs.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v21.1.dll

Declaration

public CardViewColumn Column { get; }

Property Value

Type Description
CardViewColumn

The column.

Remarks

Web Forms:

<ASPxCardView ID="ASPxCardView1" onHeaderFilterEditorInitialize="ASPxCardView1_HeaderFilterEditorInitialize">
    ...
</ASPxCardView>
protected void ASPxCardView1_HeaderFilterEditorInitialize(object sender, ASPxCardViewHeaderFilterEditorInitializeEventArgs e) {
    if (e.Column.FieldName == "ProductName"){
        // your code
    }
}

MVC:

settings.HeaderFilterEditorInitialize = (s, e) => {
    if (e.Column.FieldName == "ProductName"){
        // your code
    }
};

See Also