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

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

# TradeWatchTab.Child

Member of [TradeWatchTab](https://help.ctrader.com/ctrader-algo/references/Plugin/TradeWatch/TradeWatchTab/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
tradeWatchTab.Child: ControlBase
```

### Returns

`ControlBase` — 

### Examples

C#:

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

Python:

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

