CellFormat Property
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. WPF. SDK TXTextControl.from the private NuGet feed or Text Control Offline Packagesdll
Description
Gets or sets the formatting attributes of a table row. The property's value is an object of the type TableCellFormat.
Syntax
public TableCellFormat CellFormat { get; set; }Public Property CellFormat As TableCellFormatExamples
The following example creates a small report table and works with its structure by using TableRow.CellFormat.
textControl.Tables.Add(3, 3, 10);
Table table = textControl.Tables.GetItem(10);
TableRow tableRow = table.Rows[1];
tableRow.CellFormat = new TableCellFormat();
tableRow.Select();textControl.Tables.Add(3, 3, 10)
Dim table As Table = textControl.Tables.GetItem(10)
Dim tableRow As TableRow = table.Rows(1)
tableRow.CellFormat = New TableCellFormat()
tableRow.Select()