[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Workbook.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
public bool ProtectWindows { get; }
Public ReadOnly Property ProtectWindows As Boolean
Implements
Examples
worksheet.Range["A1"].Value = "Quarterly Report";
workbook.Protect(true, true);
bool protectWindows = workbook.ProtectWindows;