Поделиться через


CustomColorList Class

Custom Color List.When the object is serialized out as xml, its qualified name is a:custClrLst.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Drawing.CustomColorList

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

Syntax

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

Remarks

The following table lists the possible child types:

  • CustomColor <a:custClr>

[ISO/IEC 29500-1 1st Edition]

20.1.6.3 custClrLst (Custom Color List)

This element allows for a custom color palette to be created and which shows up alongside other color schemes. This can be very useful, for example, when someone would like to maintain a corporate color palette.

Parent Elements

theme (§20.1.6.9)

Child Elements

Subclause

custClr (Custom color)

§20.1.4.1.8

[Note: The W3C XML Schema definition of this element’s content model (CT_CustomColorList) is located in §A.4.1. end note]

© ISO/IEC29500: 2008.

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

CustomColorList Members

DocumentFormat.OpenXml.Drawing Namespace