ColumnFilterInfo.Type Property
Controls whether the current object filters data by a particular value, uses a custom filter string or provides no filtering condition.
Namespace: DevExpress.XtraGrid.Columns
Assembly: DevExpress.XtraGrid.v20.2.dll
NuGet Package: DevExpress.Win.Grid
Declaration
Property Value
Type | Description |
---|---|
ColumnFilterType | A ColumnFilterType enumeration value indicating the filtering type. |
Available values:
Name | Description |
---|---|
None | Indicates that filtering is disabled. |
Custom | Indicates that filtering is applied based on a custom filter string. The string should be constructed in compliance with SQL requirements. |
Value | Indicates that a column should be filtered by a specific value. |
AutoFilter | Indicates that a column’s values are filtered via the automatic filtering row. |
Remarks
This property value is initialized in the constructor.
Note: the Type property may not reflect the actual filtering type. It is only used to provide a proper ColumnFilterInfo object initialization. After the initialization has been performed, a proper filtering expression is assigned to the ColumnFilterInfo.FilterString property. This expression is actually used to filter data.