Rediger

TableStructure Class

Definition

Represents a table in a document.

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

Examples

The following example shows the <TableStructure> 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

A TableStructure can be a child of any of these document structure elements:

Constructors

Name Description
TableStructure()

Initializes a new instance of the TableStructure class.

Methods

Name Description
Add(TableRowGroupStructure)

Adds a group of rows to a table.

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<TableRowGroupStructure>.GetEnumerator()

This API supports the product infrastructure and is not intended to be used directly from your code.

This method has not been implemented.

Applies to