TX Text Control .NET Server

CellFormat Property

Property
Namespace
TXTextControl
Package
TXTextControl.TextControl.Core.SDK as TXTextControl.Core.dll from the private NuGet feed or Text Control Offline Packages
Also in
TXTextControl.TextControl.ASP.SDK as TXTextControl.dll

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; }

Examples

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();