What Changed
We reorganized the list of available Date Occurring conditions. The Date Occurring dialog contains the following date-time intervals:
- Today
- Yesterday
- Tomorrow
- This Week
- Last Week
- Next Week
- Last Month
- This Month
- Next Month
Reasons for Change
We hid intervals that were used in rules for complex scenarios and kept only the most common intervals, so that users can create format rules.
Impact on Existing Apps
Users can create new format rules in the Date Occurring dialog only with available date-time intervals.
How to Revert to Previous Behavior
For WinForms/WPF Dashboard controls:
- Set the DashboardSettings.ShowExtendedDateOccurringList property to true:
C#DashboardSettings.ShowExtendedDateOccurringList=DefaultBoolean.True;
Visual BasicDashboardSettings.ShowExtendedDateOccurringList=DefaultBoolean.True
- Use the DashboardSettings.DefaultSettingsCompatibilityMode property to set default values according to the selected version of the DevExpress installation:
C#DashboardSettings.DefaultSettingsCompatibilityMode = DashboardSettingsCompatibilityMode.v20.1;
Visual BasicDashboardSettings.DefaultSettingsCompatibilityMode = DashboardSettingsCompatibilityMode.v20.1
For Web Dashboards, set the LegacySettings.showExtendedDateOccurringList property to true:
JavaScriptonBeforeRender(sender) {
DevExpress.Dashboard.LegacySettings.showExtendedDateOccurringList = true;
}