Skip to main content
All docs
V24.1

CompatibilitySettings.UseLegacyQueryIntervalCalculation Property

Specifies whether to calculate QueryStart and QueryEnd individually for each SchedulerControl‘s occurrence.

Namespace: DevExpress.Xpf.Core

Assembly: DevExpress.Data.Desktop.v24.1.dll

NuGet Packages: DevExpress.Data.Desktop, DevExpress.ExpressApp.Win.Design

Declaration

public static bool UseLegacyQueryIntervalCalculation { get; set; }

Property Value

Type Description
Boolean

true, to calculate QueryStart and QueryEnd individually for each occurrence; false, to use the pattern’s QueryStart and QueryEnd for changed and deleted occurrences.

Remarks

In v20.1 and earlier, QueryStart and QueryEnd for modified and deleted occurrences were calculated individually, and returned values different from the QueryStart and QueryEnd of their pattern. In certain scenarios, this prevents such occurrences from being correctly loaded (see: T923353). You can set the UseLegacyQueryIntervalCalculation property to true to revert to this behavior.

In v20.2 and later, QueryStart and QueryEnd for changed and deleted occurrences return the same values as the pattern’s QueryStart and QueryEnd.

Starting with v20.2, the Scheduler implements the FetchAppointments / FetchTimeRegions events. These events allow you to load scheduler items for the visible date interval on demand. When you use this feature to load recurrent patterns for the requested interval, you need to load all changed and deleted occurrences as well.

Important

If you set UseLegacyQueryIntervalCalculation property to true, the FetchAppointments / FetchTimeRegions events stop working correctly.

See Also