WorksheetProtection

WorksheetProtection

Overview

WorksheetProtection is a class in Aspose.Cells for NET.

WorksheetProtection.IsProtected indicates whether the worksheet is currently protected.

Properties

NameTypeAccessDescription
IsProtectedboolRead/WriteIndicates whether the worksheet is currently protected
ObjectsboolRead/WriteSpecifies if objects (e.g., charts, shapes) can be edited when protected
ScenariosboolRead/WriteDetermines whether scenario manager actions are allowed under protection
FormatCellsboolRead/WriteControls whether cell formatting is allowed when the sheet is protected
FormatColumnsboolRead/WriteIndicates if column formatting is permitted while the worksheet is protected
FormatRowsboolRead/WriteIndicates if row formatting is permitted when the worksheet is protected
InsertColumnsboolRead/WriteSpecifies whether new columns may be inserted in a protected worksheet
InsertRowsboolRead/WriteSpecifies whether new rows may be inserted when the sheet is protected
InsertHyperlinksboolRead/WriteDetermines if hyperlinks can be added while the worksheet is protected
DeleteColumnsboolRead/WriteControls whether columns can be deleted from a protected worksheet
DeleteRowsboolRead/WriteControls whether rows can be deleted when the worksheet is protected
SelectLockedCellsboolRead/WriteControls if locked cells can be selected when the sheet is protected
SortboolRead/WriteDetermines whether sorting operations are allowed while the worksheet is protected
AutoFilterboolRead/WriteSpecifies if auto‑filter functionality is permitted when the sheet is protected
PivotTablesboolRead/WriteIndicates whether pivot tables can be used or modified while protected
SelectUnlockedCellsboolRead/WriteIndicates if unlocked cells may be selected when the worksheet is protected