Skip to main content
All docs
V24.1

DataSource.FetchRange Property

Specifies the time interval for which to load the scheduler items. This is a dependency property.

Namespace: DevExpress.Xpf.Scheduling

Assembly: DevExpress.Xpf.Scheduling.v24.1.dll

NuGet Package: DevExpress.Wpf.Scheduling

Declaration

public TimeSpan FetchRange { get; set; }

Property Value

Type Description
TimeSpan

A System.TimeSpan value. The default is 1 month.

Remarks

Use the FetchRange to lessen the amount of database queries.

FetchAppointments and FetchTimeRegions events load items for the SchedulerControl.VisibleIntervals (the start of its earliest item and the end of its latest item) extended up to the FetchRange.

If the SchedulerControl.VisibleIntervals duration is longer than FetchRange, the FetchRange value is ignored.

See Also