Back to Devexpress

RichEditControl.IsUpdateLocked Property

windowsforms-devexpress-dot-xtrarichedit-dot-richeditcontrol-96525623.md

latest2.0 KB
Original Source

RichEditControl.IsUpdateLocked Property

Returns a value indicating whether the RichEditControl is locked for update.

Namespace : DevExpress.XtraRichEdit

Assembly : DevExpress.XtraRichEdit.v25.2.dll

NuGet Package : DevExpress.Win.RichEdit

Declaration

csharp
[Browsable(false)]
public bool IsUpdateLocked { get; }
vb
<Browsable(False)>
Public ReadOnly Property IsUpdateLocked As Boolean

Property Value

TypeDescription
Boolean

true if the control is locked; otherwise, false.

|

Remarks

Enclose your code in the RichEditControl.BeginUpdate - RichEditControl.EndUpdate method calls to suppress the RichEditControl’s visual updates and improve its performance when you perform multiple changes to a document.

The IsUpdateLocked property allows you to determine the RichEditControl’s state. If it is locked by the RichEditControl.BeginUpdate method, the IsUpdateLocked property returns true.

See Also

BeginUpdate()

EndUpdate()

RichEditControl Class

RichEditControl Members

DevExpress.XtraRichEdit Namespace