Skip to content

Class ExcelDxfProtection

Namespace: OfficeOpenXml.Style.Dxf
Assembly: EPPlus.dll

Represents a cell protection properties used for differential style formatting.

public class ExcelDxfProtection : DxfStyleBase

Inheritance

object ← DxfStyleBase ← ExcelDxfProtection

Inherited Members

DxfStyleBase.Clear()
DxfStyleBase.HasValue
DxfStyleBase.SetValueColor(XmlHelper, string, ExcelDxfColor)
object.Equals(object?, object?)
object.Equals(object?)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object?, object?)
object.ToString()

Properties

HasValue

If the dxf style has any values set.

public override bool HasValue { get; }

Property Value

bool

Hidden

If the cells formulas are hidden when the worksheet is protected.

public bool? Hidden { get; set; }

Property Value

bool?

Locked

If the cell is locked when the worksheet is protected.

public bool? Locked { get; set; }

Property Value

bool?

Methods

Clear()

Clears all properties

public override void Clear()