windowsforms-devexpress-dot-xtraeditors-dot-filtercontrol-2e0aa727.md
Gets or sets the total filter expression.
Namespace : DevExpress.XtraEditors
Assembly : DevExpress.XtraEditors.v25.2.dll
NuGet Package : DevExpress.Win.Navigation
[Browsable(false)]
public CriteriaOperator FilterCriteria { get; set; }
<Browsable(False)>
Public Property FilterCriteria As CriteriaOperator
| Type | Description |
|---|---|
| CriteriaOperator |
A CriteriaOperator descendant that represents the total filter expression.
|
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the FilterCriteria 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.
CriteriaToExpressionConverter converter = new CriteriaToExpressionConverter();
IQueryable<Products> filteredData = source.AppendWhere(converter, filterControl1.FilterCriteria) as IQueryable<Products>;
gridControl1.DataSource = null;
Dim converter As CriteriaToExpressionConverter = New CriteriaToExpressionConverter()
Dim filteredData As IQueryable(Of Products) = TryCast(source.AppendWhere(converter, filterControl1.FilterCriteria), IQueryable(Of Products))
gridControl1.DataSource = Nothing
See Also