SchedulerDataStorage.FetchOnVisibleResourcesChanged Property

Gets or sets whether to raise the FetchAppointments event when the EnableSmartFetch property is switched on and visible resources are changed.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v20.1.dll

Declaration

[DefaultValue(true)]
public bool FetchOnVisibleResourcesChanged { get; set; }
<DefaultValue(True)>
Public Property FetchOnVisibleResourcesChanged As Boolean

Property Value

Type Default Description
Boolean

true

True, to raise FetchAppointments event in smart fetch mode when visible resources are changed; otherwise, false.

Remarks

When the SchedulerDataStorage.EnableSmartFetch property is switched on, the FetchOnVisibleResourcesChanged property allows you to decide whether to raise the SchedulerDataStorage.FetchAppointments event when visible resources (the SchedulerViewBase.FirstVisibleResourceIndex and SchedulerViewBase.ResourcesPerPage property values) are changed.

The recommended (default) value is true to ensure that all appointments belonging to visible resources are loaded.

See Also