Share via


WorkbookProtection.LockWindows Property

Lock Windows.Represents the attribte in schema: lockWindows

Namespace:  DocumentFormat.OpenXml.Spreadsheet
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
<SchemaAttrAttribute(, "lockWindows")> _
Public Property LockWindows As BooleanValue
    Get
    Set
'Usage
Dim instance As WorkbookProtection
Dim value As BooleanValue

value = instance.LockWindows

instance.LockWindows = value
[SchemaAttrAttribute(, "lockWindows")]
public BooleanValue LockWindows { get; set; }

Property Value

Type: DocumentFormat.OpenXml.BooleanValue
Returns BooleanValue.

See Also

Reference

WorkbookProtection Class

WorkbookProtection Members

DocumentFormat.OpenXml.Spreadsheet Namespace