Skip to content

Commit e5362cc

Browse files
authored
Merge pull request #1587 from syncfusion-content/986746-LockedCellsBehavior
986746-Add note for the behavior of locked cells in XlsIO UG
2 parents fe56b2c + 4c46e95 commit e5362cc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Document-Processing/Excel/Excel-Library/NET/Security.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -699,4 +699,6 @@ End Using
699699

700700
N> Security features are now supported in .NET Standard 1.4 onwards.
701701

702+
N> By default, all cells in an Excel worksheet have the Locked property set to true. This property only takes effect when the worksheet is protected. To allow edits in specific cells, you must explicitly set the Locked property to false before applying protection. Once the sheet is protected, only the unlocked cells remain editable. However, ExcelEngine will allow editing cells programmatically even though the worksheet is protected.
703+
702704
A complete working example to protect a cell in C# is present on [this GitHub page](https://github.com/SyncfusionExamples/XlsIO-Examples/tree/master/XlsIO-Excel-Protect-UnProtect/Locked-Cells/.NET/Locked-Cells).

0 commit comments

Comments
 (0)