| Visual Basic (Declaration) | |
|---|---|
Public Property ProtectWorkbookWindows As System.Boolean  | |
| C# | |
|---|---|
public System.bool ProtectWorkbookWindows {get; set;} | |
Property Value
Boolean. The default value is False.| C# |  Copy Code | 
|---|---|
GrapeCity.SpreadBuilder.Workbook sb = new GrapeCity.SpreadBuilder.Workbook(); sb.ProtectWorkbookWindows = true;  | |
| Visual Basic |  Copy Code | 
|---|---|
Dim sb As New GrapeCity.SpreadBuilder.Workbook sb.ProtectWorkbookWindows = True  | |