Gets whether the storage has been locked for updating.
NuGet Package: DevExpress.Wpf.Scheduler
true if the storage is locked; otherwise, false.
You are viewing documentation for the legacy WPF Scheduler control. If you’re starting a new project, we strongly recommend that you use a new control declared in the DevExpress.Xpf.Scheduling namespace. If you decide to upgrade an existing project in order to switch to the updated scheduler control, see the Migration Guidelines document.
The SchedulerStorage.BeginUpdate and SchedulerStorage.EndUpdate methods use an internal counter to implement their functionality. The counter’s initial value is 0. The BeginUpdate method increments the counter. The EndUpdate decrements the counter, and if its new value is zero, the change notifications are enabled. Note that each call to BeginUpdate must be paired with a call to EndUpdate. If a call to BeginUpdate is made without a corresponding call to EndUpdate afterwards or if it’s not called because an exception occurred, the scheduler storage will no longer be updated. To ensure that EndUpdate is always called even if an exception occurs, use the try…finally statement.