Colors Class
Colors.When the object is serialized out as xml, its qualified name is x:colors.
Inheritance Hierarchy
System.Object
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlCompositeElement
DocumentFormat.OpenXml.Spreadsheet.Colors
Namespace: DocumentFormat.OpenXml.Spreadsheet
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
声明
<ChildElementInfoAttribute(GetType(IndexedColors))> _
<ChildElementInfoAttribute(GetType(MruColors))> _
Public Class Colors _
Inherits OpenXmlCompositeElement
用法
Dim instance As Colors
[ChildElementInfoAttribute(typeof(IndexedColors))]
[ChildElementInfoAttribute(typeof(MruColors))]
public class Colors : OpenXmlCompositeElement
Remarks
The following table lists the possible child types:
IndexedColors <x:indexedColors>
MruColors <x:mruColors>
[ISO/IEC 29500-1 第 1 个版本]
18.8.11 colors (Colors)
Color information associated with this stylesheet. This collection is written whenever the legacy color palette has been modified (backwards compatibility settings) or a custom color has been selected while using this workbook.
When the color palette is modified, the indexedColors collection is written. When a custom color has been selected, the mruColors collection is written.
Parent Elements |
---|
styleSheet (§18.8.39) |
Child Elements |
Subclause |
---|---|
indexedColors (Color Indexes) |
§18.8.27 |
mruColors (MRU Colors) |
§18.8.28 |
[Note: The W3C XML Schema definition of this element's content model (CT_Colors) 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.