Skip to main content
All docs
V24.2

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.2.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