Skip to main content
ON

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

C#
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 &lt; 500"/>
                      <dx:PredefinedFilter Text="$500 - $2000" FilterExpression="?p >= 500 AND ?p &lt; 2000"/>
                      <dx:PredefinedFilter Text="$2000+" FilterExpression="?p >= 2000"/>
                  </dxe:PredefinedFilterCheckedChipGroupItem>
             <!--...-->
</ContentPage>

DevExpress Filtering UI for MAUI - Checked chip group

For more information on how to implement a Filtering UI for DataGridView and DXCollectionView, refer to the following sections:

#Inheritance

System.Object
BindableObject
PredefinedFilter
See Also