Gets or sets whether cells in this row are marked as locked.
Syntax
Visual Basic (Declaration) | |
---|
Public Property Locked As Boolean |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As Row
Dim value As Boolean
instance.Locked = value
value = instance.Locked |
C# | |
---|
public bool Locked {get; set;} |
Property Value
Boolean:
true if marked as locked;
false otherwise
Remarks
Example
This example locks the rows in the range.
C# | Copy Code |
---|
FarPoint.Win.Spread.Row r;
r = fpSpread1.ActiveSheet.Rows[0, 3];
r.Locked = true; |
Visual Basic | Copy Code |
---|
Dim r As FarPoint.Win.Spread.Row
r = FpSpread1.ActiveSheet.Rows(0, 3)
r.Locked = 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