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

CalendarFilterElement Class

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

Namespace: DevExpress.Xpf.Core.FilteringUI

Assembly: DevExpress.Xpf.Grid.v24.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