---
id: "P:cAlgo.API.AspTab.Child"
kind: "property"
type: "T:cAlgo.API.AspTab"
url: "https://help.ctrader.com/ctrader-algo/references/Plugin/Asp/AspTab/Child/"
---

> Documentation index for agents: https://help.ctrader.com/ctrader-algo/llms.txt · machine index: https://help.ctrader.com/ctrader-algo/api.json

# AspTab.Child

Member of [AspTab](https://help.ctrader.com/ctrader-algo/references/Plugin/Asp/AspTab/index.md).

## Child

Get / set content of current tab.

Environments: Desktop supported · CLI not supported · Cloud not supported.

- CLI: Available to plugins only, and plugins cannot run in the CLI.
- Cloud: Available to plugins only, and plugins cannot run in the cloud.

C#:

```csharp
ControlBase Child {get; set;}
```

Python:

```python
aspTab.Child: ControlBase
```

### Returns

`ControlBase` — 

### Examples

C#:

```csharp
var tab = Asp.AddTab("My Tab");
var panel = new StackPanel();
panel.AddChild(new TextBlock { Text = "Tab content" });
tab.Child = panel;
```

Python:

```python
tab = api.Asp.AddTab("My Tab")
panel = StackPanel()
textBlock = TextBlock()
textBlock.Text = "Tab content"
panel.AddChild(textBlock)
tab.Child = panel
```

