# Table.NestedTables Property

> Gets a collection of all tables nested in this table. The property's value is an object of the type TableBaseCollection.

- **Product:** TX Text Control .NET for Windows Forms
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 11.0
- **Namespace:** `TXTextControl`
- **Package:** `TXTextControl.TextControl.WinForms.SDK` (assembly `TXTextControl.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXTextControl.dll` from the setup
- **Path:** TX Text Control .NET for Windows Forms > Reference > TXTextControl > Table.NestedTables Property
- **683 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/table/nestedtables-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/table/nestedtables-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/table/nestedtables-property/llms-full.txt

---

### Description

Gets a collection of all tables nested in this table. The property's value is an object of the type [TableBaseCollection](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/tablebasecollection/llms-full.txt).

### Syntax

```csharp
public TableBaseCollection NestedTables { get; }
```

```vbnet
Public ReadOnly Property NestedTables As TableBaseCollection
```

### Examples

The following example finds every table nested in an outer table and assigns an accessibility description to it.

```csharp
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";
}
```

```vbnet
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"
Next
```

### Limitations

Read only.

---

## Nearby

- **Previous:** [Table.NestedLevel Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/table/nestedlevel-property/llms-full.txt)
- **Next:** [Table.OuterMostTable Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/table/outermosttable-property/llms-full.txt)
