Gets or sets whether cells on this sheet that are marked as locked are not editable.
            
            
            
Syntax
| Visual Basic (Declaration) |   | 
|---|
Public Property Protect As Boolean  | 
 
| Visual Basic (Usage) |  Copy Code | 
|---|
Dim instance As SheetView
Dim value As Boolean
 
instance.Protect = value
 
value = instance.Protect  | 
 
| C# |   | 
|---|
public bool Protect {get; set;} | 
 
            
            
            Property Value
Boolean: 
true if cells marked as locked are uneditable; 
false otherwise
 
            
			
			
            Remarks
            
            
Example
This example sets cells that are marked as locked to still be editable by the user.
             
| C# |  Copy Code | 
|---|
fpSpread1.ActiveSheet.Protect = false;  | 
 
| Visual Basic |  Copy Code | 
|---|
FpSpread1.ActiveSheet.Protect = False  | 
 
 
            
            
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