OuterMostTable Property
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. WPF. SDK TXTextControl.from the private NuGet feed or Text Control Offline Packagesdll
Description
Gets a table's outermost table. This is a top-level table with a nested level of 1. The property's value is an object of the type Table or null if this table is already a top-level table.
Syntax
public Table OuterMostTable { get; }Public ReadOnly Property OuterMostTable As TableExamples
The following example starts with a third-level table and uses OuterMostTable to describe the top-level table that contains 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);
textControl.InputPosition =
new InputPosition(nestedTable.Cells.GetItem(1, 1).Start);
textControl.Tables.Add(1, 1, 30);
Table innerTable = nestedTable.NestedTables.GetItem(30);
innerTable.OuterMostTable.DescriptiveText = "Complete order summary";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)
textControl.InputPosition =
New InputPosition(nestedTable.Cells.GetItem(1, 1).Start)
textControl.Tables.Add(1, 1, 30)
Dim innerTable As Table = nestedTable.NestedTables.GetItem(30)
innerTable.OuterMostTable.DescriptiveText = "Complete order summary"Limitations
Read only.