Skip to main content

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

NuGet Package: DevExpress.Uwp.Controls

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