IconSet Class
Icon Set.When the object is serialized out as xml, its qualified name is x:iconSet.
Inheritance Hierarchy
System.Object
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlCompositeElement
DocumentFormat.OpenXml.Spreadsheet.IconSet
Namespace: DocumentFormat.OpenXml.Spreadsheet
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
声明
<ChildElementInfoAttribute(GetType(ConditionalFormatValueObject))> _
Public Class IconSet _
Inherits OpenXmlCompositeElement
用法
Dim instance As IconSet
[ChildElementInfoAttribute(typeof(ConditionalFormatValueObject))]
public class IconSet : OpenXmlCompositeElement
Remarks
The following table lists the possible child types:
- ConditionalFormatValueObject <x:cfvo>
[ISO/IEC 29500-1 第 1 个版本]
18.3.1.49 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. 以上摘要已经由 Microsoft(和/或其代理公司)从英语翻译为简体中文,ISO 对此翻译不承担任何责任。
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.