AutoFilterCondition Enum
Enumerates the comparison operator types for the filter conditions created for specific columns via the Automatic Filtering Row.
Namespace: DevExpress.XtraTreeList.Columns
Assembly: DevExpress.XtraTreeList.v24.2.dll
NuGet Packages: DevExpress.Win.Navigation, DevExpress.Win.TreeList
#Declaration
#Members
Name | Description |
---|---|
Default
|
For columns being filtered by their display text (see Tree The Default option acts like the Equals option for the columns that have any of the following in-place editors or any of their descendants: Check For other columns, the Default option acts identically to the Like option. |
Like
|
The Like comparison operator selects records whose values in the corresponding column start with the entered string. For the columns that use Check |
Equals
|
The Equals comparison operator selects records whose values in the corresponding column match the entered value. |
Contains
|
The Contains operator selects records whose values in the corresponding column contain the entered string. |
Begins
|
Selects records that start with the entered string. Equal to the Auto For example, the [Name] Begins |
Ends
|
Selects records that end with the entered string. Equal to the Auto For example, the [Name] Ends |
Does
|
Selects records that do not equal the entered string. This clause acts as an opposite to the Auto |
Does
|
Selects records that do not equal the entered string. This clause acts as an opposite to the Auto |
Greater
|
Selects records that are greater than the entered value. For text records, “greater” values are those that would lie below the entered value in an alphabetically sorted list. For example, in a list with Latin characters, all letters from “N” to “Z” are greater than the letter “M”. |
Greater
|
Selects records that are greater than the entered value or equal to it. For text records, “greater” values are those that would lie below the entered value in an alphabetically sorted list. For example, in a list with Latin characters, all letters from “M” to “Z” are greater or equal to the letter “M”. |
Less
|
Selects records that are less than the entered value. For text records, “less” values are those that would lie above the entered value in an alphabetically sorted list. For example, in a list with Latin characters, all letters from “A” to “L” are less than the letter “M”. |
Less
|
Selects records that are less than the entered value or equal to it. For text records, “less” values are those that would lie above the entered value in an alphabetically sorted list. For example, in a list with Latin characters, all letters from “A” to “L” are less than the letter “M”. |
Not
|
Selects records that do not match the entered string. Acts as an opposite to the Auto For example, from a list with month names the [Name] Like ‘J%y’ filter expression will return the “January” and “July” records. The [Name] Not Like ‘J%y’ expression will return the names of remaining ten months. |
#Related API Members
The following properties accept/return AutoFilterCondition values:
#Remarks
The Automatic Filtering Row allows end-users to filter data on the fly. Typing text within the row’s cell automatically creates a filter condition against the corresponding column. The comparison operator used in this condition is determined by the column’s TreeListOptionsColumnFilter.AutoFilterCondition property of the AutoFilterCondition type. The values can be compared using the Equals or Like operators.