Compartir a través de


Style Class

Defines the Style Class.This class is only available in Office2010.When the object is serialized out as xml, its qualified name is c14:style.

Inheritance Hierarchy

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

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

Syntax

'Declaración
<OfficeAvailabilityAttribute(FileFormatVersions.Office2010)> _
Public Class Style _
    Inherits OpenXmlLeafElement
'Uso
Dim instance As Style
[OfficeAvailabilityAttribute(FileFormatVersions.Office2010)]
public class Style : OpenXmlLeafElement

Remarks

2.3.29 style

Target namespace: https://schemas.microsoft.com/office/drawing/2007/8/2/chart

A CT_Style element that specifies a chart ([ISO/IEC-29500-1]] section 21.2) style.

The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this element.

<xsd:element name="style" type="CT_Style"/>

See section 5.11 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).

2.5.70 CT_Style

Target namespace: https://schemas.microsoft.com/office/drawing/2007/8/2/chart

Referenced by: style

A complex type that specifies a chart ([ISO/IEC-29500-1]] section 21.2) style.

If this element exists, the CT_Style ([ISO/IEC-29500-4] section A.5.1) element that is a descendent of the CT_ChartSpace ([ISO/IEC-29500-4]] section A.5.1) element that is the ancestor of this element MUST exist, SHOULD<16> be ignored, and MUST have a val attribute equal to the val attribute of this element minus 100.

Attributes:

val : An ST_Style attribute that specifies a chart ([ISO/IEC-29500-1]] section 21.2) style.

The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this complex type.

<xsd:complexType name="CT_Style">

<xsd:attribute name="val" type="ST_Style" use="required"/>

</xsd:complexType>

See section 5.11 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).

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.Office2010.Drawing.Charts Namespace