Share via


TimelineStyle class

Defines the TimelineStyle Class.This class is only available in O15. When the object is serialized out as xml, its qualified name is x15:timelineStyle.

Inheritance hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Office15.Excel.TimelineStyle

Namespace:  DocumentFormat.OpenXml.Office15.Excel
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
<OfficeAvailabilityAttribute(FileFormatVersions.Office15)> _
<ChildElementInfoAttribute(GetType(TimelineStyleElements), FileFormatVersions.Office15)> _
Public Class TimelineStyle _
    Inherits OpenXmlCompositeElement
'Usage
Dim instance As TimelineStyle
[OfficeAvailabilityAttribute(FileFormatVersions.Office15)]
[ChildElementInfoAttribute(typeof(TimelineStyleElements), FileFormatVersions.Office15)]
public class TimelineStyle : OpenXmlCompositeElement

Remarks

2.6.119 CT_TimelineStyle

Target namespace: https://schemas.microsoft.com/office/spreadsheetml/2010/11/main

Referenced by: CT_TimelineStyles

CT_TimelineStyle specifies table style elements, as specified in [ISO/IEC-29500-1] section 18.8, of the timeline style, as specified in section Timeline Styles, that are specific to timelines, as specified in section Timelines.

Child Elements:

timelineStyleElements: A CT_TimelineStyleElements, as specified in section Timeline Style Elements, that specifies table style elements of the timeline style that are specific to timelines. There MUST NOT be more than one CT_TimelineStyleElements in this element.

Attributes:

name: A string attribute, as specified in [XMLSCHEMA2] section 3.2.1, that specifies the name of the user-defined table style that this timeline style is based upon. The length of the string MUST be greater than or equal to 1 character and less than or equal to 255 characters. This string MUST be unique within the CT_TimelineStyle elements in the Styles part, as specified in [ISO/IEC-29500-1] section 12.3.20. This string MUST match the name attribute of a CT_TableStyle element, as specified in [ISO/IEC-29500-4] section A.2, in the Styles part. In the CT_TableStyle element with a name attribute that matches this string, the pivot attribute MUST equal "false" and the table attribute MUST equal "false".

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

<xsd:complexType name="CT_TimelineStyle">

<xsd:sequence>

<xsd:element name="timelineStyleElements" type="CT_TimelineStyleElements" minOccurs="0" maxOccurs="1"/>

</xsd:sequence>

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

</xsd:complexType>

See section 5.3 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

TimelineStyle members

DocumentFormat.OpenXml.Office15.Excel namespace