Freigeben über


Colors-Klasse

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

Vererbungshierarchie

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Spreadsheet.Colors

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

Syntax

'Declaration
<ChildElementInfoAttribute(GetType(IndexedColors))> _
<ChildElementInfoAttribute(GetType(MruColors))> _
Public Class Colors _
    Inherits OpenXmlCompositeElement
'Usage
Dim instance As Colors
[ChildElementInfoAttribute(typeof(IndexedColors))]
[ChildElementInfoAttribute(typeof(MruColors))]
public class Colors : OpenXmlCompositeElement

Hinweise

The following table lists the possible child types:

  • IndexedColors <x:indexedColors>

  • MruColors <x:mruColors>

[ISO/IEC 29500-1 1. Ausgabe]

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. Die oben aufgeführten Textauszüge wurden von Microsoft (und/oder den Microsoft-Vendoren) von Englisch nach Deutsch übersetzt, und im Rahmen von ISO wird keinerlei Verantwortung für diese Übersetzungen übernommen.

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic) Member dieses Typs sind threadsicher. Bei Instanzmembern ist die Threadsicherheit nicht gewährleistet.

Siehe auch

Referenz

Colors-Member

DocumentFormat.OpenXml.Spreadsheet-Namespace