Click or drag to resize
NanoXLSX

WorksheetAddAllowedActionOnSheetProtection Method

Method to add allowed actions if the worksheet is protected. If one or more values are added, UseSheetProtection will be set to true

Namespace: NanoXLSX
Assembly: NanoXLSX (in NanoXLSX.dll) Version: 2.6.3+98f265239ae8df4639650ecd7029244cc5e52dfc
Syntax
C#
public void AddAllowedActionOnSheetProtection(
	WorksheetSheetProtectionValue typeOfProtection
)

Parameters

typeOfProtection  WorksheetSheetProtectionValue
Allowed action on the worksheet or cells
Remarks
If selectLockedCells is added, selectUnlockedCells is added automatically
See Also