Skip to main content

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.1.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