DXCollectionView.FilterString Property
In This Article
Gets or sets the CollectionView’s filter expression string.
Namespace: DevExpress.XamarinForms.CollectionView
Assembly: DevExpress.XamarinForms.CollectionView.dll
NuGet Package: DevExpress.XamarinForms.CollectionView
#Declaration
C#
public string FilterString { get; set; }
#Property Value
Type | Description |
---|---|
String | A string that specifies filer criteria applied to data the Collection |
#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>
See Also