Columns Property
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. WPF. SDK TXTextControl.from the private NuGet feed or Text Control Offline Packagesdll
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; }Public ReadOnly Property Columns As TableColumnCollectionExamples
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;
}textControl.Tables.Add(2, 3, 10)
Dim table As Table = textControl.Tables.GetItem(10)
For Each column As TableColumn In table.Columns
column.Width = 2000
NextLimitations
Read only.