'Declaration Public Property Protect As Boolean
'Usage Dim instance As SheetView Dim value As Boolean instance.Protect = value value = instance.Protect
public bool Protect {get; set;}
'Declaration Public Property Protect As Boolean
'Usage Dim instance As SheetView Dim value As Boolean instance.Protect = value value = instance.Protect
public bool Protect {get; set;}
This property is available at run time only.
When this property is set to true, when cells are marked as locked, they are immediately locked.
When this property is set to false, the user can still interact with cells marked as locked.
You can specify that certain cells are locked; that is, the user cannot edit them. You mark cells as locked using the Cell object's Locked property. Cells are not locked until the Protect property is set to true. Because the Protect property's default value is true, unless you have changed the value of the Protect property, when you mark cells as locked, they are immediately locked.
You can also set lock settings using the AlternatingRow.Locked, Column.Locked, NamedStyle.Locked, Row.Locked, and StyleInfo.Locked properties for locking rows or columns of cells, or making locked be part of a style.
SheetView Class
SheetView Members
Locked Property (Cell)
Locked Property (StyleInfo)