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

RangeFilterElement Class

A range filter element that allows a user to filter by numeric values.

Namespace: DevExpress.Xpf.Core.FilteringUI

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

NuGet Package: DevExpress.Wpf.Grid.Core

#Declaration

public class RangeFilterElement :
    FilterElement

#Remarks

Tip

Topic: Filter Elements

Run Demo: Filter Elements - Range Run Demo: Range Control Template

The image below shows a range filter element:

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

#FilterModelTemplate Property

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

Tip

Data Context (Binding Source): RangeFilterModel

#Limitations

The RangeFilterElement is not supported in Server Mode.

See Also