ISchedulerStateService.IsDataRefreshAllowed Property
In This Article
Indicates whether the Scheduler data can be safely reloaded.
Namespace: DevExpress.XtraScheduler.Services
Assembly: DevExpress.XtraScheduler.v24.2.Core.Desktop.dll
NuGet Package: DevExpress.Scheduler.CoreDesktop
#Declaration
#Property Value
Type | Description |
---|---|
Boolean | True, if data refresh is allowed; otherwise, false. |
#Remarks
Check the IsDataRefreshAllowed property to determine the moment when the SchedulerControl does not apply any changes, so that its data can be safely reloaded.
The IsDataRefreshAllowed option tests the following properties internally:
isModalFormOpened || isInplaceEditorOpened || isAppointmentResized || isPopupMenuOpened || areAppointmentsDragged || isApplyChanges
We always recommend testing the IsDataRefreshAllowed property before manually executing the SchedulerStorageBase.RefreshData or SchedulerControl.RefreshData methods.
See Also