Edit

TableRowStructure Class

Definition

Represents a row of one or more cells in a table.

public ref class TableRowStructure : System::Windows::Documents::DocumentStructures::SemanticBasicElement, System::Collections::Generic::IEnumerable<System::Windows::Documents::DocumentStructures::TableCellStructure ^>, System::Windows::Markup::IAddChild
public class TableRowStructure : System.Windows.Documents.DocumentStructures.SemanticBasicElement, System.Collections.Generic.IEnumerable<System.Windows.Documents.DocumentStructures.TableCellStructure>, System.Windows.Markup.IAddChild
type TableRowStructure = class
    inherit SemanticBasicElement
    interface seq<TableCellStructure>
    interface IEnumerable
    interface IAddChild
Public Class TableRowStructure
Inherits SemanticBasicElement
Implements IAddChild, IEnumerable(Of TableCellStructure)
Inheritance
Implements

Examples

The following example shows the <TableRowStructure> part of an XML Paper Specification (XPS) document.

<TableStructure>
  <TableRowGroupStructure>

    <TableRowStructure>
      <TableCellStructure>
        <ParagraphStructure>
          <NamedElement NameReference="R1C1P1" />
        </ParagraphStructure>
      </TableCellStructure>
      <TableCellStructure>
        <ParagraphStructure>
          <NamedElement NameReference="R1C2P1" />
        </ParagraphStructure>
      </TableCellStructure>
    </TableRowStructure>

    <TableRowStructure>
      <TableCellStructure>
        <ParagraphStructure>
          <NamedElement NameReference="R2C1P1" />
        </ParagraphStructure>
      </TableCellStructure>
      <TableCellStructure>
        <ParagraphStructure>
          <NamedElement NameReference="R2C2P1" />
        </ParagraphStructure>
        <ParagraphStructure>
          <NamedElement NameReference="R2C2P2" />
        </ParagraphStructure>
      </TableCellStructure>
    </TableRowStructure>

    <TableRowStructure>
      <TableCellStructure>
        <ParagraphStructure>
          <NamedElement NameReference="R3C1P1" />
        </ParagraphStructure>
      </TableCellStructure>
      <TableCellStructure>
        <ParagraphStructure>
          <NamedElement NameReference="R3C2P1" />
        </ParagraphStructure>
      </TableCellStructure>
    </TableRowStructure>

    <TableRowStructure>
      <TableCellStructure>
        <ParagraphStructure>
          <NamedElement NameReference="R4C1P1" />
        </ParagraphStructure>
      </TableCellStructure>
      <TableCellStructure>
        <ParagraphStructure>
          <NamedElement NameReference="R4C2P1" />
        </ParagraphStructure>
      </TableCellStructure>
    </TableRowStructure>

    <TableRowStructure>
      <TableCellStructure>
        <ParagraphStructure>
          <NamedElement NameReference="R5C1P1" />
        </ParagraphStructure>
      </TableCellStructure>
      <TableCellStructure>
        <ParagraphStructure>
          <NamedElement NameReference="R5C2P1" />
        </ParagraphStructure>
      </TableCellStructure>
    </TableRowStructure>

  </TableRowGroupStructure>
</TableStructure>

Remarks

Only a TableRowGroupStructure can be the parent of a TableRowStructure.

Constructors

Name Description
TableRowStructure()

Initializes a new instance of the TableRowStructure class.

Methods

Name Description
Add(TableCellStructure)

Adds a cell to a table row.

Explicit Interface Implementations

Name Description
IAddChild.AddChild(Object)

This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.

IAddChild.AddText(String)

Adds the text content of a node to the object.

IEnumerable.GetEnumerator()

This method has not been implemented.

IEnumerable<TableCellStructure>.GetEnumerator()

This method has not been implemented.

Applies to