Skip to main content
A newer version of this page is available. .

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.v19.2.dll

Declaration

[XtraSerializableProperty(2147483645)]
[GridUIProperty]
[CloneDetailMode(CloneDetailMode.Skip)]
public string FilterString { get; set; }

Property Value

Type Description
String

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

Remarks

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