Xceed Workbooks for .NET v1.4 Documentation
Locked Property (Protection)


Xceed.Workbooks.NET Assembly > Xceed.Workbooks.NET Namespace > Protection Class : Locked Property
Gets or sets if the Cell is locked or not. The default value is true.
Syntax
'Declaration

 

Public Property Locked As Boolean
'Usage

 

Dim instance As Protection

Dim value As Boolean

 

instance.Locked = value

 

value = instance.Locked
public bool Locked {get; set;}
Remarks
The associated Worksheet needs to be protected in order for this property to take effect. You can protect a Worksheet with a call to the Worksheet.Protect() method.
Requirements

Target Platforms: Windows 11, Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Protection Class
Protection Members