A newer version of this page is available. Switch to the current version.

ColumnFilterInfo Class

Contains column filter settings.

Namespace: DevExpress.XtraGrid.Columns

Assembly: DevExpress.XtraGrid.v19.2.dll


public class ColumnFilterInfo :
Public Class ColumnFilterInfo
    Implements IEquatable(Of ColumnFilterInfo)

The following members accept/return ColumnFilterInfo objects:


The Data Grid control provides a number of ways to filter data in code. See the Filter and Search topic for more information.

The GridColumn.FilterInfo property allows you to assign a filter to a specific column. Create and initialize a ColumnFilterInfo object via the class constructor and then assign this object to a column's GridColumn.FilterInfo property.

The following example shows how to assign filter criteria ("[ShipCountry] = 'Poland'") to the CustomerID grid column.

GridColumn columnCustomer = gridView1.Columns["CustomerID"];
columnCustomer.FilterInfo = new ColumnFilterInfo("[ShipCountry] = 'Poland'");


See Also