Back to Devexpress

ColumnFilterInfo.Type Property

windowsforms-devexpress-dot-xtragrid-dot-columns-dot-columnfilterinfo-6b9e5e5d.md

latest2.7 KB
Original Source

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.v25.2.dll

NuGet Packages : DevExpress.Win.Grid, DevExpress.Win.Navigation

Declaration

csharp
[XtraSerializableProperty]
public ColumnFilterType Type { get; }
vb
<XtraSerializableProperty>
Public ReadOnly Property Type As ColumnFilterType

Property Value

TypeDescription
ColumnFilterType

A ColumnFilterType enumeration value indicating the filtering type.

|

Available values:

NameDescription
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.

See Also

ColumnFilterType

Value

FilterString

ColumnFilterInfo Class

ColumnFilterInfo Members

DevExpress.XtraGrid.Columns Namespace