A newer version of this page is available. Switch to the current version.

RangeFilterElement Class

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

Namespace: DevExpress.Xpf.Core.FilteringUI

Assembly: DevExpress.Xpf.Grid.v19.1.dll

Declaration

public class RangeFilterElement :
    FilterElement
Public Class RangeFilterElement
    Inherits FilterElement

Remarks

TIP

Topic: Filter Elements

TIP

Demo:

Requires a WPF Subscription. Download

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

See Also