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

RepositoryItem.IsLockUpdate Property

Gets a value indicating whether the editor is immediately updated in response to changing its settings.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

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

#Property Value

Type Description
Boolean

true if the editor cannot be updated until unlocked; otherwise, false.

#Remarks

After the RepositoryItem.BeginUpdate method is called, the editor is locked and is not immediately updated in response to changing its settings. To allow editor updates, the RepositoryItem.EndUpdate or RepositoryItem.CancelUpdate method should be called. These methods are used to perform multiple changes without updating the editor after each modification. Note: each RepositoryItem.BeginUpdate method call increments the internal counter by one. Each RepositoryItem.EndUpdate or RepositoryItem.CancelUpdate method decrements the counter value. The editor can be updated only when the counter value is 0 (the initial value). Thus, the IsLockUpdate property returns true if the counter value is not 0.

See Also