Back to Devexpress

SpreadsheetControl.IsUpdateLocked Property

windowsforms-devexpress-dot-xtraspreadsheet-dot-spreadsheetcontrol-b330d91e.md

latest2.1 KB
Original Source

SpreadsheetControl.IsUpdateLocked Property

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

Namespace : DevExpress.XtraSpreadsheet

Assembly : DevExpress.XtraSpreadsheet.v25.2.dll

NuGet Package : DevExpress.Win.Spreadsheet

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 SpreadsheetControl.BeginUpdate - SpreadsheetControl.EndUpdate method calls to suppress the SpreadsheetControl’s visual updates and improve its performance when you perform multiple changes to a spreadsheet document.

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

See Also

BeginUpdate()

EndUpdate()

SpreadsheetControl Class

SpreadsheetControl Members

DevExpress.XtraSpreadsheet Namespace