TX Text Control .NET for WPF

Rows Property

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

Description

Gets a collection of all rows the table consists of. The property's value is an object of the type TableRowCollection.

Syntax

public TableRowCollection Rows { get; }

Examples

The following example marks the first row as a repeating header and gives every row a minimum height of 400 twips.

textControl.Tables.Add(4, 3, 10);
Table table = textControl.Tables.GetItem(10);

table.Rows.GetItem(1).IsHeader = true;

foreach (TableRow row in table.Rows)
{
    row.MinimumHeight = 400;
}

Limitations

Read only.