Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxSpreadSheetCellStyle.Locked Property

Specifies the content protection state for a cell object in a protected worksheet.

#Declaration

Delphi
property Locked: Boolean read; write;

#Property Value

Type
Boolean

#Remarks

An attempt to invoke an in-place editor for a cell in a protected worksheet raises the EdxSpreadSheetProtectionError exception if the cell’s Style.Locked property is set to True.

You can set this property to False to unlock an individual non-empty cell (that is, a cell object) in a protected worksheet. If you need to allow users to edit empty (uninitialized) cells in protected worksheets, set the control’s DefaultCellStyle.Locked property to False.

The default Locked property value is True.

See Also