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.1.dll

Declaration

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

Related API Members

The following members accept/return ColumnFilterInfo objects:

Remarks

You can filter View data by column values. To do so, you need to create a new ColumnFilterInfo object with the desired settings and assign the created object to a column's GridColumn.FilterInfo property. Note that properties provided by the ColumnFilterInfo class are read-only. You can specify the desired filtering condition using constructor parameters only. The class provides several constructors so you can choose the one that best suits your needs.

For Grid Views the filtering feature is available to end-users if the View's GridOptionsCustomization.AllowFilter property is set to true. For Card Views this feature is always enabled. It's possible, however, to disable this feature for particular columns in Grid Views and Card Views via a column's OptionsColumnFilter.AllowFilter option.

For detailed information about the filtering feature, see the Filtering Overview help topic.

Inheritance

Object
ColumnFilterInfo
See Also