Skip to main content

SchedulerStorageBase.EnableSmartFetch Property

Gets or sets whether certain internal criteria for raising the SchedulerStorageBase.FetchAppointments event are applied to reduce the number of data requests.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v24.1.Core.Desktop.dll

NuGet Package: DevExpress.Scheduler.CoreDesktop

Declaration

public bool EnableSmartFetch { get; set; }

Property Value

Type Description
Boolean

True, to use more restrictive internal criteria for determining whether to raise the FetchAppointments event; otherwise, false.

Remarks

More restrictive criteria for raising the SchedulerStorageBase.FetchAppointments event are introduced in v15.2 by default. The SchedulerStorageBase.FetchAppointments event occurs when the visible interval or resource collection is changed, or when the SchedulerControl.RefreshData method is called. However the event is not raised when appointments are being inserted/deleted/modified.

This change may break the previously designed application behavior . If you experience situations where an expected FetchAppointments event does not occur, set the SchedulerStorageBase.EnableSmartFetch property to false to revert to the former mechanism of raising the event.

Implements

See Also