Skip to main content
.NET Framework 4.5.2+
Row

FilterComparisonOperator Enum

Lists comparison operators used in a custom filter.

Namespace: DevExpress.Spreadsheet

Assembly: DevExpress.Spreadsheet.v21.2.Core.dll

Declaration

public enum FilterComparisonOperator

Members

Name Description
LessThan

Filters values that are less than a specified criterion value.

Equal

Filters values that are equal to a specified criterion value.

LessThanOrEqual

Filters values that are less than or equal to a specified criterion value.

GreaterThan

Filters values that are greater than a specified criterion value.

NotEqual

Filters values that are not equal to a specified criterion value.

GreaterThanOrEqual

Filters values that are greater than or equal to a specified criterion value.

Remarks

The AutoFilterColumn.ApplyCustomFilter method uses the FilterComparisonOperator enumeration to specify criteria operators when applying a custom filter.

When a custom filter is applied, you can use the CustomFilter.FirstCriteriaOperator and CustomFilter.SecondCriteriaOperator properties to get information about criteria comparison operators.

The following code snippets (auto-collected from DevExpress Examples) contain references to the FilterComparisonOperator 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