Back to Devexpress

DataSource.FetchRange Property

wpf-devexpress-dot-xpf-dot-scheduling-dot-datasource-04390a63.md

latest1.7 KB
Original Source

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

NuGet Package : DevExpress.Wpf.Scheduling

Declaration

csharp
public TimeSpan FetchRange { get; set; }
vb
Public Property FetchRange As TimeSpan

Property Value

TypeDescription
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

DataSource Class

DataSource Members

DevExpress.Xpf.Scheduling Namespace