Protection.Locked Property
Gets or sets whether the cell is locked if the worksheet is protected.
Namespace: DevExpress.Spreadsheet
Assembly: DevExpress.Spreadsheet.v20.2.Core.dll
NuGet Package: DevExpress.Spreadsheet.Core
NuGet Packages: DevExpress.Spreadsheet.Core, DevExpress.WindowsDesktop.Spreadsheet.Core
Declaration
Property Value
Type | Description |
---|---|
Boolean | true, to lock a cell in a protected sheet; otherwise, false. |
Remarks
The following code unlocks the C3 cell of the currently active worksheet when the sheet becomes protected. This cell is editable when the worksheet is locked.
See Also