Partager via


Style Class

Defines the Style Class.When the object is serialized out as xml, its qualified name is c:style.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.Drawing.Charts.Style

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

Syntax

'Declaration
Public Class Style _
    Inherits OpenXmlLeafElement
'Usage
Dim instance As Style
public class Style : OpenXmlLeafElement

Remarks

[ISO/IEC 29500-1 1st Edition]

21.2.2.202 style (Style)

This element specifies the style that shall be applied to the chart.

Parent Elements

chartSpace (§21.2.2.29)

Attributes

Description

val (Style Type)

Specifies the chart style.

The possible values for this attribute are defined by the ST_Style simple type (§21.2.3.46).

[Note: The W3C XML Schema definition of this element’s content model (CT_Style) is located in §A.5.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

Style Members

DocumentFormat.OpenXml.Drawing.Charts Namespace