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