Freigeben über


TableRow-Klasse

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

Vererbungshierarchie

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Drawing.TableRow

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

Syntax

'Declaration
<ChildElementInfoAttribute(GetType(TableCell))> _
<ChildElementInfoAttribute(GetType(ExtensionList))> _
Public Class TableRow _
    Inherits OpenXmlCompositeElement
'Usage
Dim instance As TableRow
[ChildElementInfoAttribute(typeof(TableCell))]
[ChildElementInfoAttribute(typeof(ExtensionList))]
public class TableRow : OpenXmlCompositeElement

Hinweise

The following table lists the possible child types:

  • TableCell <a:tc>

  • ExtensionList <a:extLst>

[ISO/IEC 29500-1 1. Ausgabe]

21.1.3.18 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. Die oben aufgeführten Textauszüge wurden von Microsoft (und/oder den Microsoft-Vendoren) von Englisch nach Deutsch übersetzt, und im Rahmen von ISO wird keinerlei Verantwortung für diese Übersetzungen übernommen.

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic) Member dieses Typs sind threadsicher. Bei Instanzmembern ist die Threadsicherheit nicht gewährleistet.

Siehe auch

Referenz

TableRow-Member

DocumentFormat.OpenXml.Drawing-Namespace