NestedTables 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 tables nested in this table. The property's value is an object of the type TableBaseCollection.
Syntax
public TableBaseCollection NestedTables { get; }Public ReadOnly Property NestedTables As TableBaseCollectionExamples
The following example finds every table nested in an outer table and assigns an accessibility description to it.
textControl.Tables.Add(2, 2, 10);
Table outerTable = textControl.Tables.GetItem(10);
textControl.InputPosition =
new InputPosition(outerTable.Cells.GetItem(1, 1).Start);
textControl.Tables.Add(2, 2, 20);
foreach (Table nestedTable in outerTable.NestedTables)
{
nestedTable.DescriptiveText = "Supporting details";
}textControl.Tables.Add(2, 2, 10)
Dim outerTable As Table = textControl.Tables.GetItem(10)
textControl.InputPosition =
New InputPosition(outerTable.Cells.GetItem(1, 1).Start)
textControl.Tables.Add(2, 2, 20)
For Each nestedTable As Table In outerTable.NestedTables
nestedTable.DescriptiveText = "Supporting details"
NextLimitations
Read only.