Skip to main content
You are viewing help content for pre-release software. This document and the features it describes are subject to change.
ON

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 &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

Object
BindableObject
PredefinedFilter
See Also