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.2+7f12a949130e0be1e987e553d2d08c083176cdca
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