Contains column filter settings.
public class ColumnFilterInfo : IEquatable<ColumnFilterInfo>
Public Class ColumnFilterInfo Implements IEquatable(Of ColumnFilterInfo)
Related API Members
The following members 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'");