maui-devexpress-dot-maui-dot-core-77c93891.md
A predefined filter item within the PredefinedFilterCheckedChipGroupItem container.
Namespace : DevExpress.Maui.Core
Assembly : DevExpress.Maui.Core.dll
NuGet Package : DevExpress.Maui.Core
public sealed class PredefinedFilter :
BindableObject,
IPredefinedFilter
The following code sample specifies the PredefinedFilterCheckedChipGroupItem with three PredefinedFilter objects:
<ContentPage ...
xmlns:dxe="clr-namespace:DevExpress.Maui.Editors;assembly=DevExpress.Maui.Editors">
<!--...-->
<dxe:PredefinedFilterCheckedChipGroupItem Text="Price" FieldName="Price" ShowValueCounts="true">
<dx:PredefinedFilter Text="$0 - $500" FilterExpression="?p < 500"/>
<dx:PredefinedFilter Text="$500 - $2000" FilterExpression="?p >= 500 AND ?p < 2000"/>
<dx:PredefinedFilter Text="$2000+" FilterExpression="?p >= 2000"/>
</dxe:PredefinedFilterCheckedChipGroupItem>
<!--...-->
</ContentPage>
For more information on how to implement a Filtering UI for DataGridView and DXCollectionView, refer to the following sections:
System.Object BindableObject PredefinedFilter
YieldIfNotNull<PredefinedFilter>()
See Also