次の方法で共有


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 初版]

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. 上記の引用はマイクロソフト (またはその代理) によって英語から日本語に翻訳されたものであり、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.

See Also

Reference

Colors Members

DocumentFormat.OpenXml.Spreadsheet Namespace