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.EnsureFetchTimeRegions(DateTimeRange) Method

Loads time regions for the specified time interval.

Namespace: DevExpress.Xpf.Scheduling

Assembly: DevExpress.Xpf.Scheduling.v24.2.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