Skip to main content
A newer version of this page is available. .

ColumnFilterInfo Class

Contains column filter settings.

Namespace: DevExpress.XtraGrid.Columns

Assembly: DevExpress.XtraGrid.v18.1.dll

Declaration

[TypeConverter(typeof(BinaryTypeConverter))]
public class ColumnFilterInfo :
    ISerializable

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.

The following code snippets (auto-collected from DevExpress Examples) contain references to the ColumnFilterInfo class.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

Inheritance

Object
ColumnFilterInfo
See Also