TableStyleId Class

Table Style ID.When the object is serialized out as xml, its qualified name is a:tableStyleId.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.OpenXmlLeafTextElement
        DocumentFormat.OpenXml.Drawing.TableStyleId

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

Syntax

'Declaration
Public Class TableStyleId _
    Inherits OpenXmlLeafTextElement
'Usage
Dim instance As TableStyleId
public class TableStyleId : OpenXmlLeafTextElement

Remarks

[ISO/IEC 29500-1 1st Edition]

21.1.3.12 tableStyleId (Table Style ID)

This element defines the table style which is currently applied to the table by referencing the styleId attribute of the tableStyle element.

[Example: Consider the following example of a tableStyleId within DrawingML:

<a:tblPr firstRow="1" bandRow="1">
<a:tableStyleId>{5940675A-B579-460E-94D1-54222C63F5DA}</a:tableStyleId>
</a:tblPr>

In this example, we see a reference to a table style being specified in the tableStyleId element. end example]

The possible values for this element are defined by the ST_Guid simple type (§22.9.2.4).

Parent Elements

tblPr (§21.1.3.15)

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

TableStyleId Members

DocumentFormat.OpenXml.Drawing Namespace