Skip to main content

DataControlBase.FilterCriteria Property

Gets or sets the grid's filter criteria. This is a dependency property.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v14.2.Core.dll

#Declaration

[Browsable(false)]
public CriteriaOperator FilterCriteria { get; set; }

#Property Value

Type Description
CriteriaOperator

A CriteriaOperator object which are filter criteria.

#Remarks

Use the FilterCriteria property to create a filter expression that consists of multiple conditions applied to multiple columns, and apply it to the grid. Setting the FilterCriteria property to a new value clears any filters that have been previously applied.

To obtain a filter applied to a column, use the DataControlBase.GetColumnFilterCriteria method. To apply a filter to a column(s) preserving the grid's filter (if applied), use the DataControlBase.MergeColumnFilters method. To clear the required column's filter, use the DataControlBase.ClearColumnFilter method.

For detailed information and examples, see Filtering Overview and Filtering in Code.

#Implements

DevExpress.Xpf.Core.IDXFilterable.FilterCriteria
See Also