Skip to main content
All docs
V24.1

DataSource.EnsureFetchTimeRegions(DateTimeRange) Method

Loads time regions for the specified time interval.

Namespace: DevExpress.Xpf.Scheduling

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

NuGet Package: DevExpress.Wpf.Scheduling

Declaration

public void EnsureFetchTimeRegions(
    DateTimeRange interval
)

Parameters

Name Type Description
interval DateTimeRange

A DevExpress.Mvvm.DateTimeRange value that is the time interval for which to load time regions.

Remarks

Use the EnsureFetchTimeRegions method to manually load time regions when you handle the FetchAppointments event. Refer to the Load Data on Demand topic for more information.

Use the interval parameter to specify the time interval for which to load time regions from the source. The FetchRange property does not affect the EnsureFetchTimeRegions method.

Use the EnsureFetchAppointments method to load appointments.

See Also