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

AutoFilterCondition Enum

Lists values that specify the type of the comparison operator used to create filter conditions within the Auto Filter Row.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v17.2.Core.dll

Declaration

public enum AutoFilterCondition

Members

Name Description
Like

The Like comparison operator is used to create filter conditions. This operator selects records whose values in the corresponding column start with the entered string.

Equals

The Equals comparison operator is used to create filter conditions. This operator selects records whose values in the corresponding column match the entered value.

Contains

The Contains operator is used to create filter conditions. This operator selects records whose values in the corresponding column contain the entered string.

Default

For string values, the Like comparison operator is used to create filter conditions. This operator selects records whose values in the corresponding column start with the entered string.

For other values (e.g. Boolean, numeric), the Equals comparison operator is used.

Related API Members

The following properties accept/return AutoFilterCondition values:

Remarks

The automatic filter row allows end-users to filter data on the fly, by typing text within the row’s cell. This automatically creates a filter condition against the corresponding column. The comparison operator used in this condition is determined by the column’s ColumnBase.AutoFilterCondition property.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the AutoFilterCondition enum.

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.

See Also