DataControlBase.FilterString Property

Gets or sets the grid’s filter expression. This is a dependency property.

Namespace: DevExpress.UI.Xaml.Grid

Assembly: DevExpress.UI.Xaml.Grid.v21.2.dll


public string FilterString { get; set; }

Property Value

Type Description

A String value that specifies the grid’s filter expression.


The filter expression specified by the FilterString property can consist of multiple conditions applied to multiple columns. Setting the FilterString property to a new value clears any filters that have been previously applied. The DataControlBase.GetColumnFilterString method allows you to obtain the filter expression applied to an individual column.

The grid’s filter can also be specified using the DataControlBase.FilterCriteria property.

To learn more, see Filtering in Code.

See Also