GrapeCity.Xaml.SpreadSheet.UI
Protect Property (GcSpreadSheet)
Example 


Gets or sets whether this workbook is protected.
Syntax
'Declaration
 
<CategoryAttribute()>
<DefaultValueAttribute()>
Public Property Protect As Boolean
'Usage
 
Dim instance As GcSpreadSheet
Dim value As Boolean
 
instance.Protect = value
 
value = instance.Protect
[Category()]
[DefaultValue()]
public bool Protect {get; set;}
Example
This example sets the Protect property.
gcSpreadSheet1.ActiveSheetIndex = 0;
gcSpreadSheet1.CanUserEditFormula = true;
gcSpreadSheet1.GridLineColor = Windows.UI.Colors.DarkSeaGreen;
gcSpreadSheet1.Protect = false;
GcSpreadSheet1.ActiveSheetIndex = 0
GcSpreadSheet1.CanUserEditFormula = True
GcSpreadSheet1.GridLineColor = Windows.UI.Colors.DarkSeaGreen
GcSpreadSheet1.Protect = False
Requirements

Target Platforms: Windows Server 2012, Windows RT

See Also

Reference

GcSpreadSheet Class
GcSpreadSheet Members

 

 


Copyright © GrapeCity, inc. All rights reserved.

Support Options