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.ProtectionInfo Property

Specifies the password protection provider and its settings applied an individual worksheet or the spreadsheet document structure.

#Declaration

Delphi
property ProtectionInfo: IdxSpreadSheetProtectionInfo read; write;

#Property Value

Type
IdxSpreadSheetProtectionInfo

#Remarks

You can use this property to protect a worksheet or the spreadsheet document structure with a password. To add a protection password programmatically, assign a new instance of the TdxSpreadSheetStandardProtectionInfo or TdxSpreadSheetStrongProtectionInfo to the ProtectionInfo property, passing the required password as the constructor‘s APassword parameter. To remove password protection, set this property to nil.

For detailed information (including code examples) on protecting individual worksheets and the document structure, refer to the Worksheet Protection and Spreadsheet Document Structure Protection sections of the Password Protection topic.

See Also