[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.IWorkbook.ProtectWindows

ProtectWindows Property

ProtectWindows

Returns a value indicating whether the workbook windows are protected.

This property reflects the workbook window protection state set by Protect(bool, bool). When workbook windows are protected, the window layout cannot be modified until the protection is removed.

Declaration
bool ProtectWindows { get; }
ReadOnly Property ProtectWindows As Boolean
Examples
worksheet.Range["A1"].Value = "Quarterly Report";
workbook.Protect(true, true);
bool protectWindows = workbook.ProtectWindows;