Skip to main content

ISchedulerStateService.IsDataRefreshAllowed Property

Indicates whether the Scheduler data can be safely reloaded.

Namespace: DevExpress.XtraScheduler.Services

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

NuGet Package: DevExpress.Scheduler.CoreDesktop

Declaration

bool IsDataRefreshAllowed { get; }

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