Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

SpreadsheetProtectionBehaviorOptions Properties

Provides options to restrict an end-user’s capability to protect or unprotect a document in the SpreadsheetControl.
Name Description
AllowUsersToEditRange Gets or sets the document’s capability to unlock ranges in a protected worksheet for editing by authenticated users.
AllowUsersToEditRangeAllowed Gets whether an end-user is allowed to specify user permission to edit ranges in a protected worksheet.
ProtectSheet Gets or sets the document’s capability to protect a worksheet.
ProtectSheetAllowed Gets whether an end-user is allowed to protect a worksheet.
ProtectWorkbook Gets or sets the document’s capability to protect a workbook.
ProtectWorkbookAllowed Gets whether an end-user is allowed to protect a workbook.
UnprotectSheet Gets or sets the document’s capability to remove the worksheet protection.
UnprotectSheetAllowed Gets whether an end-user is allowed to unprotect a worksheet.
UnprotectWorkbook Gets or sets the document’s capability to remove the workbook protection.
UnprotectWorkbookAllowed Gets whether an end-user is allowed to unprotect a workbook.
See Also