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

TdxSpreadSheetSheetProtectionOptions.AllowSelectLockedCells Property

Specifies if an end-user can select locked cells in a protected worksheet.

#Declaration

Delphi
property AllowSelectLockedCells: Boolean index 9 read; write; default True;

#Property Value

Type Default
Boolean True

#Remarks

This property corresponds to the Select locked cells checkbox in the Protect Sheet dialog:

The Protect Sheet Dialog

Set the AllowSelectLockedCells property to False or True to forbid or allow an end-user to select locked cells within a protected worksheet. Setting this property to True automatically sets the AllowSelectUnlockedCells property to True. Therefore, if you allow selecting locked cells, an end-user is able to select any cell within a protected worksheet.

To identify if an end-user is currently able to select locked cells, use the ActualAllowSelectLockedCells property.

The default value of the AllowSelectLockedCells property is True.

See Also