Skip to main content

SpreadsheetControl.IsUpdateLocked Property

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

Namespace: DevExpress.XtraSpreadsheet

Assembly: DevExpress.XtraSpreadsheet.v24.1.dll

NuGet Package: DevExpress.Win.Spreadsheet

Declaration

[Browsable(false)]
public bool IsUpdateLocked { get; }

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.

See Also