Skip to main content

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

CheckBoxFilterElement Class

A check box filter element that allows a user to filter by boolean values.

Namespace: DevExpress.Xpf.Core.FilteringUI

Assembly: DevExpress.Xpf.Grid.v24.2.dll

NuGet Package: DevExpress.Wpf.Grid.Core

#Declaration

public class CheckBoxFilterElement :
    FilterElement

#Remarks

Tip

Topic: Filter Elements

Run Demo: Check Box

<dxg:GridControl x:Name="grid" ... />
<!-- ... -->
<dxfui:CheckBoxFilterElement Context="{Binding FilteringContext, ElementName=grid}" FieldName="Discounted" />

#FilterModelTemplate Property

Use the FilterElement.FilterModelTemplate property to specify the filter element template.

Tip

Data Context (Binding Source): CheckBoxFilterModel

See Also