SpreadsheetControl.IsUpdateLocked Property

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

Namespace: DevExpress.XtraSpreadsheet

Assembly: DevExpress.XtraSpreadsheet.v20.1.dll

Declaration

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

Property Value

Type Description
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.

Implements

DevExpress.Utils.IBatchUpdateable.IsUpdateLocked
See Also