TableRow class

Office 2013 and later

Table Row. When the object is serialized out as xml, its qualified name is a:tr.

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

No code example is currently available or this language may not be supported.

[ISO/IEC 29500-1 1st Edition]

tr (Table Row)

This element defines a row in a table. A row as defined in a table is simply a listing of table cells (§21.1.3.16). There is a table row element defined for every row in the table.

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

<a:tr h="774700">
  <a:tc>
    <a:txBody>
      <a:bodyPr/>
      <a:lstStyle/>
      <a:p>
        <a:endParaRPr lang="en-US" dirty="0"/>
      </a:p>
    </a:txBody>
    <a:tcPr/>
  </a:tc>
…</a:tr>

In this example, we see a table row defined with an example table cell (§21.1.3.16) defined within it. The height of the row has been specified and in real use, there is a table cell defined in this row for each grid column (§21.1.3.2) defined in the table. end example]

Parent Elements

tbl (§21.1.3.13)

Child Elements

Subclause

extLst (Extension List)

§20.1.2.2.15

tc (Table Cell)

§21.1.3.16

Attributes

Description

h (Height)

Defines the height of the row in the table.

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

[Note: The W3C XML Schema definition of this element’s content model (CT_TableRow) is located in §A.4.1. end note]

© ISO/IEC29500: 2008.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show: