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

DataGridView.FilterString Property

Gets or sets the grid's filter expression string.

Namespace: DevExpress.XamarinForms.DataGrid

Assembly: DevExpress.XamarinForms.Grid.dll

Declaration

public string FilterString { get; set; }

Property Value

Type Description
String

A string that specifies filer criteria applied to grid data.

Remarks

You can use the FilterString 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.

<dxg:DataGridView ItemsSource="{Binding Orders}"  
                  FilterString="Contains([Product.Name], 'Choco')">
    <!-- ... -->
</dxg:DataGridView>

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 property.

See Also