TableCell TableCell TableCell TableCell Constructors

Définition

Surcharges

TableCell() TableCell() TableCell()

Initialise une nouvelle instance vide de la classe TableCell.Initializes a new, empty instance of the TableCell class.

TableCell(Block) TableCell(Block) TableCell(Block) TableCell(Block)

Initialise une nouvelle instance de la classe TableCell, en prenant un objet Block spécifié comme contenu initial du nouveau TableCell.Initializes a new instance of the TableCell class, taking a specified Block object as the initial contents of the new TableCell.

TableCell() TableCell() TableCell()

Initialise une nouvelle instance vide de la classe TableCell.Initializes a new, empty instance of the TableCell class.

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

TableCell(Block) TableCell(Block) TableCell(Block) TableCell(Block)

Initialise une nouvelle instance de la classe TableCell, en prenant un objet Block spécifié comme contenu initial du nouveau TableCell.Initializes a new instance of the TableCell class, taking a specified Block object as the initial contents of the new 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)

Paramètres

blockItem
Block Block Block Block

Objet Block spécifiant le contenu initial du nouveau TableCell.A Block object specifying the initial contents of the new TableCell.

Exemples

L’exemple suivant illustre l’utilisation de ce constructeur.The following example demonstrates usage of this constructor.

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

S’applique à