Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

RecurrenceControlBase.IsUpdateLocked Property

Gets whether the control has been locked for updating.

Namespace: DevExpress.XtraScheduler.UI

Assembly: DevExpress.XtraScheduler.v24.2.dll

NuGet Package: DevExpress.Win.Scheduler

#Declaration

[Browsable(false)]
public bool IsUpdateLocked { get; }

#Property Value

Type Description
Boolean

true if the control is locked; otherwise, false.

#Remarks

The RecurrenceControlBase.BeginUpdate and RecurrenceControlBase.EndUpdate methods use an internal counter to implement appropriate functionality. The counter’s initial value is 0. The BeginUpdate method increments the counter. EndUpdate decrements the counter and if its new value is zero, 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 but without a corresponding call to EndUpdate afterwards, or it’s not called because an exception occurred, the control will no longer be updated. To ensure that EndUpdate is always called even if an exception occurs, use the try…finally statement.

See Also