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

TdxSpreadSheetCustomProtectionOptions.Protected Property

Specifies if an individual worksheet or the spreadsheet document structure is protected.

#Declaration

Delphi
property Protected: Boolean read; write; default False;

#Property Value

Type Default
Boolean False

#Remarks

Use this property to enable and disable content protection in the Spreadsheet and Report Designer controls. The Protected property corresponds to the “Protect worksheet and contents of locked cells” and “Structure” checkboxes in the Protect Sheet and Protect Structure dialogs, respectively:

Enabling the worksheet or document structure protection by setting the Protected property to True does not enforce the password protection. To specify a protection password, use the ProtectionInfo property.

Note

In the case of the spreadsheet document structure, the Protected property is equivalent to the OptionsBehavior.Protected property of the Spreadsheet and Report Designer controls.

The default Protected property value is False.

See Also