PredefinedFilter Class
A predefined filter item within the PredefinedFilterCheckedChipGroupItem container.
Namespace: DevExpress.Maui.Core
Assembly: DevExpress.Maui.Core.dll
NuGet Package: DevExpress.Maui.Core
Declaration
public sealed class PredefinedFilter :
BindableObject,
IPredefinedFilter
Remarks
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:
Implements
Inheritance
System.Object
BindableObject
PredefinedFilter
See Also