Freigeben über


ConditionalFormattingIcon-Klasse

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.

Vererbungshierarchie

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

'Declaration
<OfficeAvailabilityAttribute(FileFormatVersions.Office2010)> _
Public Class ConditionalFormattingIcon _
    Inherits OpenXmlLeafElement
'Usage
Dim instance As ConditionalFormattingIcon
[OfficeAvailabilityAttribute(FileFormatVersions.Office2010)]
public class ConditionalFormattingIcon : OpenXmlLeafElement

Hinweise

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).

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic) Member dieses Typs sind threadsicher. Bei Instanzmembern ist die Threadsicherheit nicht gewährleistet.

Siehe auch

Referenz

ConditionalFormattingIcon-Member

DocumentFormat.OpenXml.Office2010.Excel-Namespace