TableStructure Class

Represents a table in a document.

Namespace: System.Windows.Documents.DocumentStructures
Assembly: PresentationFramework (in presentationframework.dll)

public class TableStructure : SemanticBasicElement, IAddChild
public class TableStructure extends SemanticBasicElement implements IAddChild
public class TableStructure extends SemanticBasicElement implements IAddChild
<TableStructure .../>

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

The following example shows the <TableStructure> part of an XML Paper Specification (XPS) document. For the full sample, see Document Structure Sample.

<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>

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

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0

Community Additions

ADD
Show: