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

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

# ApplicationDraggable.Child

Member of [ApplicationDraggable](https://help.ctrader.com/ctrader-algo/references/Application/ApplicationDraggable/index.md).

## Child

Get / set the content control inside the draggable.

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

- CLI: Never displayed: starts at X=0, Y=0; position changes are not applied and LocationChanged never fires.
- Cloud: Never displayed: starts at X=0, Y=0; position changes are not applied and LocationChanged never fires.

C#:

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

Python:

```python
applicationDraggable.Child: ControlBase
```

### Returns

`ControlBase` — 

Available since cAlgo.API 5.2.

### Examples

C#:

```csharp
var draggable = Application.Draggables.Add();
var button = new Button { Text = "Buy " + SymbolName };
button.Click += args => ExecuteMarketOrder(TradeType.Buy, SymbolName, Symbol.VolumeInUnitsMin);
draggable.Child = button;
```

Python:

```python
draggable = api.Application.Draggables.Add()
button = Button()
button.Text = "Buy " + api.SymbolName
button.Click += lambda args: api.ExecuteMarketOrder(TradeType.Buy, api.SymbolName, api.Symbol.VolumeInUnitsMin)
draggable.Child = button
```

