SpreadsheetGear 2017
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.
Property Locked As System.Boolean
Dim instance As IStyle
Dim value As System.Boolean
instance.Locked = value
value = instance.Locked
System.bool Locked {get; set;}
read-write property Locked: System.Boolean; 
function get,set Locked : System.boolean
__property System.bool get_Locked();
__property void set_Locked( 
   System.bool value
property System.bool Locked {
   System.bool get();
   void set (    System.bool value);
Locking cells will have no affect unless IWorksheet.ProtectContents is set to true.

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


IStyle Interface
IStyle Members
ProtectContents Property
FormulaHidden Property