FormatConditionRuleDateOccuring.DateType Property
Gets or sets the filter that identifies a target date or dates.
Namespace: DevExpress.XtraEditors
Assembly: DevExpress.XtraEditors.v24.2.dll
NuGet Package: DevExpress.Win.Navigation
#Declaration
[DefaultValue(FilterDateType.Yesterday)]
[DXCategory("Behavior")]
[XtraSerializableProperty]
public FilterDateType DateType { get; set; }
#Property Value
Type | Default | Description |
---|---|---|
Filter |
Yesterday | The filter that identifies a target date or dates. |
Available values:
Name | Description |
---|---|
None | Does not specify any condition. |
Specific |
Not supported when setting the |
Beyond |
Dates that follow the current year. |
Later |
Dates of the current year starting from the following month. |
Later |
Dates of the current month that follow the next week. |
Later |
Dates of the current week starting from the day after tomorrow. |
Next |
Dates that belong to the following week. |
Tomorrow | Tomorrow. |
Today | Today. |
Yesterday | Yesterday. |
Earlier |
Dates of the current week that are prior to yesterday. |
Last |
Dates of the previous week. |
Earlier |
Dates of the current month that are prior to the previous week. |
Earlier |
Dates of the current year that are prior to the current month. |
Prior |
Dates that are prior to the current year. |
Empty | Does not specify any condition. |
User | Not supported when setting the |
Beyond | Dates that belong to the month in three months time and beyond. |
This |
Dates that belong to the current week. |
This |
Dates that belong to the current month. |
Month |
Dates that belong to the following month. |
Month |
Dates that belong to the month in two months time. |
Month |
Dates that belong to the previous month. |
Month |
Dates that belong to the month two months ago. |
Month |
Dates that belong to the month three months ago. |
Month |
Dates that belong to the month four months ago. |
Month |
Dates that belong to the month five months ago. |
Month |
Dates that belong to the month six months ago. |
Earlier | Dates that belong to the month seven months ago and earlier. |
#Remarks
The FilterDateType enumerator is marked with the Flags attribute. When setting the DateType property, you can combine the enumerator values with a bitwise OR operation.