TX Text Control .NET for Windows Forms

Columns Property

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

Description

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

Syntax

public TableColumnCollection Columns { get; }

Examples

The following example gives every column in a table a width of 2,000 twips.

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

foreach (TableColumn column in table.Columns)
{
    column.Width = 2000;
}

Limitations

Read only.

Further Reading