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 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8
See Also