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.7+c253a7d00ca5e19be14df4552cf12c589ec4ab3e
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