TdxSpreadSheetCellStyle.Locked Property
Specifies the content protection state for a cell object in a protected worksheet.
Declaration
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