Skip to main content

DataGridView.FilterExpression Property

Gets or sets the grid’s filter expression.

Namespace: DevExpress.XamarinForms.DataGrid

Assembly: DevExpress.XamarinForms.Grid.dll

NuGet Package: DevExpress.XamarinForms.Grid

Declaration

public CriteriaOperator FilterExpression { get; set; }

Property Value

Type Description
CriteriaOperator

A CriteriaOperator object which represents filter criteria.

Remarks

You can use the FilterExpression property to filter data in the grid against single or multiple columns. When a filter is applied, the grid displays a subset of data records that meet the specified criteria.

To get a string that specifies the grid’s current filter, use the DataGridView.ActualFilterString property.

To clear the grid’s filter, use the DataGridView.ClearFilter method.

See Also