OuterTable Property
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. Core. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesCore. dll
- Also in
TXTextControl.asTextControl. ASP. SDK TXTextControl.dll
Description
Gets a table's outer table. The property's value is an object of the type Table or null if this table is a top-level table.
Syntax
public Table OuterTable { get; }Public ReadOnly Property OuterTable As TableExamples
The following example accesses the immediate parent of a nested table and assigns a 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);
Table nestedTable = outerTable.NestedTables.GetItem(20);
nestedTable.OuterTable.DescriptiveText = "Order 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)
Dim nestedTable As Table = outerTable.NestedTables.GetItem(20)
nestedTable.OuterTable.DescriptiveText = "Order details"Limitations
Read only.