TimelineStyles class
Defines the TimelineStyles Class.This class is only available in O15. When the object is serialized out as xml, its qualified name is x15:timelineStyles.
Inheritance hierarchy
System.Object
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlCompositeElement
DocumentFormat.OpenXml.Office15.Excel.TimelineStyles
Namespace: DocumentFormat.OpenXml.Office15.Excel
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'Declaration
<ChildElementInfoAttribute(GetType(TimelineStyle), FileFormatVersions.Office15)> _
<OfficeAvailabilityAttribute(FileFormatVersions.Office15)> _
Public Class TimelineStyles _
Inherits OpenXmlCompositeElement
'Usage
Dim instance As TimelineStyles
[ChildElementInfoAttribute(typeof(TimelineStyle), FileFormatVersions.Office15)]
[OfficeAvailabilityAttribute(FileFormatVersions.Office15)]
public class TimelineStyles : OpenXmlCompositeElement
Remarks
2.4.59 timelineStyles
Target namespace: https://schemas.microsoft.com/office/spreadsheetml/2010/11/main
A timelineStyles element is a CT_TimelineStyles type element, as specified in section 2.6.117, that specifies a group of timeline styles, as specified in section 2.3.5.4. See section 2.2.4.7 for how this element integrates with the Office Open XML file formats specified in [ISO/IEC-29500-1].
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this element.
<xsd:element name="timelineStyles" type="CT_TimelineStyles"/>
See section 5.3 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.117 CT_TimelineStyles
Target namespace: https://schemas.microsoft.com/office/spreadsheetml/2010/11/main
Referenced by: timelineStyles
A complex type that specifies a group of Timeline Styles and the default Timeline Style to apply to Timelines.
Child Elements:
timelineStyle: A CT_TimelineStyle element that specifies a Timeline Style.
Attributes:
defaultTimelineStyle: A string ([XMLSCHEMA2] section 3.2.1) attribute that specifies the name of the default Timeline Style to apply to Timelines. The length of the string MUST be greater than or equal to 1 character and less than or equal to 255 characters.
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this complex type.
<xsd:complexType name="CT_TimelineStyles">
<xsd:sequence>
<xsd:element name="timelineStyle" type="CT_TimelineStyle" minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
<xsd:attribute name="defaultTimelineStyle" 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.