TableCell Construtores
Definição
Importante
Algumas informações dizem respeito a um produto pré-lançado que pode ser substancialmente modificado antes de ser lançado. A Microsoft não faz garantias, de forma expressa ou implícita, em relação à informação aqui apresentada.
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)
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
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)