Skip to main content

CustomFilterExpressionEventArgs.FilterExpression Property

Gets or sets the filter expression that defines a WHERE clause included in the SQL query.

Namespace: DevExpress.DataAccess

Assembly: DevExpress.DataAccess.v23.2.dll

NuGet Packages: DevExpress.DataAccess, DevExpress.Win.PivotGrid, DevExpress.Win.TreeMap

Declaration

public CriteriaOperator FilterExpression { get; set; }

Property Value

Type Description
CriteriaOperator

A CriteriaOperator descendant that specifies the filter expression that defines a WHERE clause included in the SQL query.

Remarks

To learn how to create a filter criteria as a CriteriaOperator object, see Simplified Criteria Syntax.

To identify the data source for which the event has been raised, use the CustomFilterExpressionEventArgs.DataSourceName or CustomFilterExpressionEventArgs.DataSourceComponentName property.

The following code snippets (auto-collected from DevExpress Examples) contain references to the FilterExpression property.

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