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

ViewFilter.Criteria Property

Specifies the View’s filter criteria.

Namespace: DevExpress.XtraGrid.Views.Base

Assembly: DevExpress.XtraGrid.v18.2.dll

Declaration

public CriteriaOperator Criteria { get; }

Property Value

Type Description
CriteriaOperator

A CriteriaOperator object which specifies the filter criteria.

Remarks

The Criteria property returns the current filter criteria. If you need to assign new filter criteria you can use either the ColumnView.ActiveFilterCriteria or ColumnView.ActiveFilterString property. The filter criteria is enabled if the ColumnView.ActiveFilterEnabled property is set to true.

For more information on filtering see Filter and Search.

See Also