Skip to main content
A newer version of this page is available. .

CalendarFilterElement Class

A calendar filter element that allows a user to filter by date values.

Namespace: DevExpress.Xpf.Core.FilteringUI

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

NuGet Package: DevExpress.Wpf.Grid.Core

Declaration

public class CalendarFilterElement :
    FilterElement

Remarks

Tip

Topic: Filter Elements

Run Demo: Calendar

The image below shows a calendar filter element:

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

FilterModelTemplate Property

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

Tip

Data Context (Binding Source): CalendarFilterModel

See Also