ConditionalFormattingIcon Class
Defines the ConditionalFormattingIcon Class.This class is only available in Office2010.When the object is serialized out as xml, its qualified name is x14:cfIcon.
Inheritance Hierarchy
System.Object
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlLeafElement
DocumentFormat.OpenXml.Office2010.Excel.ConditionalFormattingIcon
Namespace: DocumentFormat.OpenXml.Office2010.Excel
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'Декларация
<OfficeAvailabilityAttribute(FileFormatVersions.Office2010)> _
Public Class ConditionalFormattingIcon _
Inherits OpenXmlLeafElement
'Применение
Dim instance As ConditionalFormattingIcon
[OfficeAvailabilityAttribute(FileFormatVersions.Office2010)]
public class ConditionalFormattingIcon : OpenXmlLeafElement
Remarks
2.6.36 CT_CfIcon
Target namespace: https://schemas.microsoft.com/office/spreadsheetml/2010/main
Referenced by: CT_IconSet
A complex type that specifies a single icon of an icon set.
Attributes:
iconSet : An ST_IconSetType attribute that specifies the icon set.
iconId : An unsignedInt ([XMLSCHEMA2] section 3.3.22) attribute that specifies the icon to be used. If the icon set specified by iconSet has 3 icons, this value MUST be less than or equal to 2. If the icon set specified by iconSet has 4 icons, this value MUST be less than or equal to 3. If the icon set specified by iconSet has 5 icons, this value MUST be less than or equal to 4. If iconSet equals "NoIcons" this value MUST be 4294967295.
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this complex type.
<xsd:complexType name="CT_CfIcon">
<xsd:attribute name="iconSet" type="ST_IconSetType" use="required"/>
<xsd:attribute name="iconId" type="xsd:unsignedInt" use="required"/>
</xsd:complexType>
See section 5.3 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.