TableCell Konstruktor
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Menginisialisasi instans baru dari kelas TableCell.
Overload
| Nama | Deskripsi |
|---|---|
| TableCell() |
Menginisialisasi instans baru yang kosong dari TableCell kelas. |
| TableCell(Block) |
Menginisialisasi instans baru kelas TableCell, mengambil objek Block tertentu sebagai konten awal TableCellbaru. |
TableCell()
Menginisialisasi instans baru yang kosong dari TableCell kelas.
public:
TableCell();
public TableCell();
Public Sub New ()
Berlaku untuk
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)
Parameter
Contoh
Contoh berikut menunjukkan penggunaan konstruktor ini.
// 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)