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