Skip to main content

DXCollectionView.FilterString Property

Gets or sets the CollectionView’s filter expression string.

Namespace: DevExpress.XamarinForms.CollectionView

Assembly: DevExpress.XamarinForms.CollectionView.dll

NuGet Package: DevExpress.XamarinForms.CollectionView

Declaration

public string FilterString { get; set; }

Property Value

Type Description
String

A string that specifies filer criteria applied to data the CollectionView displays.

Remarks

You can use the FilterString or FilterExpression property to filter data in the CollectionView against single or multiple data fields. When you apply a filter, the view displays a subset of items that meet the specified criteria.

<dxcv:DXCollectionView ItemsSource="{Binding Recents}"
                       FilterString="StartsWith([Name], 'M')">
    <!-- ... -->
</dxcv:DXCollectionView>

Collection View - FilterString

See Also