Class ExcelSensibilityLabel¶
Namespace: OfficeOpenXml.SensitivityLabels
Assembly: EPPlus.dll
Represents a sensitivity label that can be applied to a package.
Inheritance¶
object ← ExcelSensibilityLabel
Implements¶
IExcelSensibilityLabel
IExcelSensibilityLabelUpdate
Inherited Members¶
object.Equals(object?, object?)
object.Equals(object?)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object?, object?)
object.ToString()
Constructors¶
ExcelSensibilityLabel()¶
Properties¶
Color¶
The color of the label.
Property Value¶
ContentBits¶
Content bits.
Property Value¶
eContentBits
Description¶
The description of the sensibility label. If no SensibilityLabelHandler is set this property will always be empty.
Property Value¶
Enabled¶
If the sensibility label is enabled. Only one sensibility label can be enabled in the list.
Property Value¶
Id¶
The sensitivity label id. Guid.
Property Value¶
Method¶
The method.
Property Value¶
eMethod
Name¶
The name of the sensibility label. If no SensibilityLabelHandler is set this property will always be empty.
Property Value¶
Parent¶
The parent label, if any.
Property Value¶
IExcelSensibilityLabel
Removed¶
If the sensibility label is removed. If the sensibility label is removed Enabled should be set to false.
Property Value¶
SiteId¶
The Azure AD site id. Guid.
Property Value¶
Tooltip¶
The description of the sensibility label for the end user.
Property Value¶
Methods¶
Update(string, string, string, string, IExcelSensibilityLabel)¶
Update properties from the handler
public void Update(string name, string tooltip, string description, string color, IExcelSensibilityLabel parent)
Parameters¶
name string
The name of the label
tooltip string
The tooltip for the label
description string
The desription
color string
The RGB color in hex
parent IExcelSensibilityLabel
The id of the parent of the label.