SpreadsheetControl.IsUpdateLocked Property

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

Namespace: DevExpress.XtraSpreadsheet

Assembly: DevExpress.XtraSpreadsheet.v21.1.dll


public bool IsUpdateLocked { get; }

Property Value

Type Description

true if the control is locked; otherwise, false.


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