Back to Devexpress

DataSource.EnsureFetchAppointments(DateTimeRange) Method

wpf-devexpress-dot-xpf-dot-scheduling-dot-datasource-dot-ensurefetchappointments-x28-devexpress-dot-mvvm-dot-datetimerange-x29.md

latest2.0 KB
Original Source

DataSource.EnsureFetchAppointments(DateTimeRange) Method

Loads appointments for the specified time interval.

Namespace : DevExpress.Xpf.Scheduling

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

NuGet Package : DevExpress.Wpf.Scheduling

Declaration

csharp
public void EnsureFetchAppointments(
    DateTimeRange interval
)
vb
Public Sub EnsureFetchAppointments(
    interval As DateTimeRange
)

Parameters

NameTypeDescription
intervalDateTimeRange

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

DataSource Class

DataSource Members

DevExpress.Xpf.Scheduling Namespace