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)

적용 대상