Colors class

Office 2013 and later

Defines the Colors Class. When the object is serialized out as xml, its qualified name is x:colors.

Namespace:  DocumentFormat.OpenXml.Spreadsheet
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

No code example is currently available or this language may not be supported.

[ISO/IEC 29500-1 1st Edition]

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.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show: