Skip to main content
All docs
V24.2

DataSource.EnsureFetchAppointments(DateTimeRange) Method

Loads appointments for the specified time interval.

Namespace: DevExpress.Xpf.Scheduling

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

NuGet Package: DevExpress.Wpf.Scheduling

Declaration

public void EnsureFetchAppointments(
    DateTimeRange interval
)

Parameters

Name Type Description
interval DateTimeRange

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

Remarks

Use the EnsureFetchAppointments method to manually load appointments 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 appointments from the source. The FetchRange property does not affect the EnsureFetchAppointments method.

Use the EnsureFetchTimeRegions method to load time regions.

See Also