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

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

Declaration

[XtraSerializableProperty(2147483645)]
[GridUIProperty]
[CloneDetailMode(CloneDetailMode.Skip)]
public string FilterString { get; set; }
<XtraSerializableProperty(2147483645)>
<GridUIProperty>
<CloneDetailMode(CloneDetailMode.Skip)>
Public Property FilterString As String

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