Skip to main content
Tab

ASPxCardViewHeaderFilterEditorInitializeEventArgs.Column Property

Gets the column to which the processed editor belongs.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v22.2.dll

NuGet Package: DevExpress.Web

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