The requested page is not available for the requested platform. You are viewing the content for Default platform.

DataControlBase.FilterCriteria Property

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

Namespace: DevExpress.UI.Xaml.Grid

Assembly: DevExpress.UI.Xaml.Grid.v19.1.dll

Declaration

[Browsable(false)]
public CriteriaOperator FilterCriteria { get; set; }
<Browsable(False)>
Public Property FilterCriteria As CriteriaOperator

Property Value

Type Description
CriteriaOperator

A CriteriaOperator object which represents 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.

To learn more, see Filtering in Code.

See Also