SpreadsheetGear 2023
Locked Property (IStyle)


SpreadsheetGear Namespace > IStyle Interface : Locked Property
Gets or sets the property which specifies whether cells associated with this named cell style will be locked.
Syntax
'Declaration
 
Property Locked As System.Boolean
'Usage
 
Dim instance As IStyle
Dim value As System.Boolean
 
instance.Locked = value
 
value = instance.Locked
System.bool Locked {get; set;}
Remarks
Locking cells will have no affect unless IWorksheet.ProtectContents is set to true.
Requirements

Target Platforms: 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

IStyle Interface
IStyle Members
ProtectContents Property
FormulaHidden Property