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.5+4f4b44a718a20dda8ca2c0c4d00bd7eee7c80f5d
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