IconSet class
Icon Set. When the object is serialized out as xml, its qualified name is x:iconSet.
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlCompositeElement
DocumentFormat.OpenXml.Spreadsheet.IconSet
Namespace: DocumentFormat.OpenXml.Spreadsheet
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
[ISO/IEC 29500-1 1st Edition]
iconSet (Icon Set)
Describes an icon set conditional formatting rule.
[Example:This example demonstrates the "3Arrows" style of icons. The first icon in the set must be shown if the cell's value is less than the 33rd percentile. The second icon in the set must be shown if the cell's value is less than the 67th percentile, and greater than or equal to the 33rd percentile. The third icon in the set must be shown if the cell's value is greater than or equal to the 67th percentile.
<iconSet iconSet="3Arrows"> <cfvo type="percentile" val="0"/> <cfvo type="percentile" val="33"/> <cfvo type="percentile" val="67"/> </iconSet>
end example]
Parent Elements |
|---|
cfRule (§18.3.1.10) |
Child Elements | Subclause |
|---|---|
cfvo (Conditional Format Value Object) | §18.3.1.11 |
Attributes | Description |
|---|---|
iconSet (Icon Set) | The icon set to display. The possible values for this attribute are defined by the ST_IconSetType simple type (§18.18.42). |
percent (Percent) | Indicates whether the thresholds indicate percentile values, instead of number values. The possible values for this attribute are defined by the W3C XML Schema boolean datatype. |
reverse (Reverse Icons) | If '1', reverses the default order of the icons in this icon set. The possible values for this attribute are defined by the W3C XML Schema boolean datatype. |
showValue (Show Value) | Indicates whether to show the values of the cells on which this icon set is applied. The possible values for this attribute are defined by the W3C XML Schema boolean datatype. |
[Note: The W3C XML Schema definition of this element’s content model (CT_IconSet) is located in §A.2. end note]
© ISO/IEC29500: 2008.