TableCell Construtores

Definição

Inicializa uma nova instância da TableCell classe.

Sobrecargas

Name Description
TableCell()

Inicializa uma nova instância vazia da TableCell classe.

TableCell(Block)

Inicializa uma nova instância da TableCell classe, tomando um objeto especificado Block como conteúdo inicial do novo TableCell.

TableCell()

Inicializa uma nova instância vazia da TableCell classe.

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

Aplica-se a

TableCell(Block)

Inicializa uma nova instância da TableCell classe, tomando um objeto especificado Block como conteúdo inicial do novo 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)

Parâmetros

blockItem
Block

Um Block objeto que especifica o conteúdo inicial do novo TableCell.

Exemplos

O exemplo seguinte demonstra a utilização deste construtor.

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

Aplica-se a