Share via


TableCell コンストラクター

定義

TableCell クラスの新しいインスタンスを初期化します。

オーバーロード

TableCell()

TableCell クラスの新しい空のインスタンスを初期化します。

TableCell(Block)

指定した TableCell オブジェクトを新しい Block の初期コンテンツとして受け取って、TableCell クラスの新しいインスタンスを初期化します。

TableCell()

TableCell クラスの新しい空のインスタンスを初期化します。

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

適用対象

TableCell(Block)

指定した TableCell オブジェクトを新しい Block の初期コンテンツとして受け取って、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)

パラメーター

blockItem
Block

新しい Block の初期コンテンツを指定する TableCell オブジェクト。

次の例では、このコンストラクターの使用方法を示します。

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

適用対象