TX Text Control .NET for WPF

CellFormat Property

Property
Namespace
TXTextControl
Package
TXTextControl.TextControl.WPF.SDK as TXTextControl.dll from the private NuGet feed or Text Control Offline Packages

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

Examples

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