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
'Declaración
<ChildElementInfoAttribute(GetType(IndexedColors))> _
<ChildElementInfoAttribute(GetType(MruColors))> _
Public Class Colors _
Inherits OpenXmlCompositeElement
'Uso
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ª edición]
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. Los extractos anteriores han sido traducidos del inglés al español por Microsoft (o algunos de sus agentes) e ISO no asume ningún tipo de responsabilidad por dichas traducciones.
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.