TX Text Control .NET for Windows Forms

IsHeader Property

Property|Introduced in 16.0
Namespace
TXTextControl
Package
TXTextControl.TextControl.WinForms.SDK as TXTextControl.dll from the private NuGet feed or Text Control Offline Packages

Description

Gets or sets a value specifying whether the table row is part of the table's header. The property value is true, if the table row belongs to the header. Otherwise, it is false. A table header consists of one or more table rows which are repeated on top of each page when a single table extends over several pages.

Syntax

public bool IsHeader { get; set; }

Examples

The following example creates a small report table and works with its structure by using TableRow.IsHeader.

textControl.Tables.Add(3, 3, 10);
Table table = textControl.Tables.GetItem(10);
TableRow tableRow = table.Rows[1];

tableRow.IsHeader = true;
tableRow.Select();