Back to Devexpress

ISchedulerStateService.IsDataRefreshAllowed Property

corelibraries-devexpress-dot-xtrascheduler-dot-services-dot-ischedulerstateservice.md

latest2.1 KB
Original Source

ISchedulerStateService.IsDataRefreshAllowed Property

Indicates whether the Scheduler data can be safely reloaded.

Namespace : DevExpress.XtraScheduler.Services

Assembly : DevExpress.XtraScheduler.v25.2.Core.Desktop.dll

NuGet Package : DevExpress.Scheduler.CoreDesktop

Declaration

csharp
bool IsDataRefreshAllowed { get; }
vb
ReadOnly Property IsDataRefreshAllowed As Boolean

Property Value

TypeDescription
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:

csharp
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

Scheduler State Service

ISchedulerStateService Interface

ISchedulerStateService Members

DevExpress.XtraScheduler.Services Namespace