CellFormat.ApplyProtection Property
Apply Protection.Represents the attribte in schema: applyProtection
Namespace: DocumentFormat.OpenXml.Spreadsheet
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'Declaration
<SchemaAttrAttribute(, "applyProtection")> _
Public Property ApplyProtection As BooleanValue
Get
Set
'Usage
Dim instance As CellFormat
Dim value As BooleanValue
value = instance.ApplyProtection
instance.ApplyProtection = value
[SchemaAttrAttribute(, "applyProtection")]
public BooleanValue ApplyProtection { get; set; }
Property Value
Type: DocumentFormat.OpenXml.BooleanValue
Returns BooleanValue.
Remarks
A boolean value indicating whether the protection formatting specified for this xf should be applied.
The possible values for this attribute are defined by the XML Schema boolean data type.