TableCell Konstruktory

Definice

Inicializuje novou instanci TableCell třídy.

Přetížení

Name Description
TableCell()

Inicializuje novou prázdnou TableCell instanci třídy.

TableCell(Block)

Inicializuje novou instanci TableCell třídy, vezme zadaný Block objekt jako počáteční obsah nového TableCell.

TableCell()

Inicializuje novou prázdnou TableCell instanci třídy.

public:
 TableCell();
public TableCell();
Public Sub New ()

Platí pro

TableCell(Block)

Inicializuje novou instanci TableCell třídy, vezme zadaný Block objekt jako počáteční obsah nového TableCell.

public:
 TableCell(System::Windows::Documents::Block ^ blockItem);
public TableCell(System.Windows.Documents.Block blockItem);
new System.Windows.Documents.TableCell : System.Windows.Documents.Block -> System.Windows.Documents.TableCell
Public Sub New (blockItem As Block)

Parametry

blockItem
Block

Objekt Block určující počáteční obsah nového TableCellobjektu .

Příklady

Následující příklad ukazuje použití tohoto konstruktoru.

// A child Block element for the new TableCell element.
Paragraph parx = new Paragraph(new Run("A bit of text content..."));

// After this line executes, the new element "cellx"
// contains the specified Block element, "parx".
TableCell cellx = new TableCell(parx);
' A child Block element for the new TableCell element.
Dim parx As New Paragraph(New Run("A bit of text content..."))

' After this line executes, the new element "cellx"
' contains the specified Block element, "parx".
Dim cellx As New TableCell(parx)

Platí pro