Class ExcelDxfProtection
Represents a cell protection properties used for differential style formatting.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: OfficeOpenXml.Style.Dxf
Assembly: EPPlus.dll
Syntax
public class ExcelDxfProtection : DxfStyleBase
Properties
HasValue
If the dxf style has any values set.
Declaration
public override bool HasValue { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Overrides
Hidden
If the cells formulas are hidden when the worksheet is protected.
Declaration
public bool? Hidden { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Boolean> |
Locked
If the cell is locked when the worksheet is protected.
Declaration
public bool? Locked { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Boolean> |
Methods
Clear()
Clears all properties
Declaration
public override void Clear()