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.4+e304ab0274fa680d1e83f83c8f76c3bd5a54caf2
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