CellFormat Property
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. WinForms. SDK TXTextControl.from the private NuGet feed or Text Control Offline Packagesdll
Description
Gets or sets the formatting attributes of a table column. 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 TableColumn.CellFormat.
textControl.Tables.Add(3, 3, 10);
Table table = textControl.Tables.GetItem(10);
TableColumn tableColumn = table.Columns[2];
tableColumn.CellFormat = new TableCellFormat();
tableColumn.Select();textControl.Tables.Add(3, 3, 10)
Dim table As Table = textControl.Tables.GetItem(10)
Dim tableColumn As TableColumn = table.Columns(2)
tableColumn.CellFormat = New TableCellFormat()
tableColumn.Select()