A newer version of this page is available. Switch to the current version.

ViewFilter.Criteria Property

Specifies the View's filter criteria.

Namespace: DevExpress.XtraGrid.Views.Base

Assembly: DevExpress.XtraGrid.v19.2.dll

Declaration

public CriteriaOperator Criteria { get; }
Public ReadOnly Property Criteria As CriteriaOperator

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