corelibraries-devexpress-dot-xtraeditors-c512c746.md
Enumerates filters that identify certain dates and date intervals.
Namespace : DevExpress.XtraEditors
Assembly : DevExpress.Data.v25.2.dll
NuGet Package : DevExpress.Data
[Flags]
public enum FilterDateType
<Flags>
Public Enum FilterDateType
| Name | Description |
|---|---|
None |
Does not specify any condition.
|
| SpecificDate |
Not supported when setting the FormatConditionRuleDateOccuring.DateType property.
|
| BeyondThisYear |
Dates that follow the current year.
|
| LaterThisYear |
Dates of the current year starting from the following month.
|
| LaterThisMonth |
Dates of the current month that follow the next week.
|
| LaterThisWeek |
Dates of the current week starting from the day after tomorrow.
|
| NextWeek |
Dates that belong to the following week.
|
| Tomorrow |
Tomorrow.
|
| Today |
Today.
|
| Yesterday |
Yesterday.
|
| EarlierThisWeek |
Dates of the current week that are prior to yesterday.
|
| LastWeek |
Dates of the previous week.
|
| EarlierThisMonth |
Dates of the current month that are prior to the previous week.
|
| EarlierThisYear |
Dates of the current year that are prior to the current month.
|
| PriorThisYear |
Dates that are prior to the current year.
|
| Empty |
Does not specify any condition.
|
| User |
Not supported when setting the FormatConditionRuleDateOccuring.DateType property.
|
| Beyond |
Dates that belong to the month in three months time and beyond.
|
| ThisWeek |
Dates that belong to the current week.
|
| ThisMonth |
Dates that belong to the current month.
|
| MonthAfter1 |
Dates that belong to the following month.
|
| MonthAfter2 |
Dates that belong to the month in two months time.
|
| MonthAgo1 |
Dates that belong to the previous month.
|
| MonthAgo2 |
Dates that belong to the month two months ago.
|
| MonthAgo3 |
Dates that belong to the month three months ago.
|
| MonthAgo4 |
Dates that belong to the month four months ago.
|
| MonthAgo5 |
Dates that belong to the month five months ago.
|
| MonthAgo6 |
Dates that belong to the month six months ago.
|
| Earlier |
Dates that belong to the month seven months ago and earlier.
|
The following properties accept/return FilterDateType values:
| Library | Related API Members |
|---|---|
| WinForms Controls | FormatConditionRuleDateOccuring.DateType |
| Dashboard | FormatConditionDateOccurring.DateType |
Values of the FilterDateType enumerator are used to set the FormatConditionRuleDateOccuring.DateType property.
The FilterDateType enumerator is marked with the Flags attribute, so its values can be combined with a bitwise OR operation.
See Also