---
id: "P:cAlgo.API.DetachedWindow.Height"
kind: "property"
type: "T:cAlgo.API.DetachedWindow"
url: "https://help.ctrader.com/ctrader-algo/references/Controls/Windows/DetachedWindow/Height/"
---

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

# DetachedWindow.Height

Member of [DetachedWindow](https://help.ctrader.com/ctrader-algo/references/Controls/Windows/DetachedWindow/index.md).

## Height

Get / Set height of the Window

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

- CLI: Values start at 0 and are only stored in the algo; no window is read or changed.
- Cloud: Values start at 0 and are only stored in the algo; no window is read or changed.

C#:

```csharp
double Height {get; set;}
```

Python:

```python
detachedWindow.Height: float
```

### Returns

`double` — 

### Examples

C#:

```csharp
var block = Asp.SymbolTab.AddBlock("Signals");
block.DetachedWindow.Height = 350;
Print("Detached window height: {0}", block.DetachedWindow.Height);
```

Python:

```python
block = api.Asp.SymbolTab.AddBlock("Signals")
block.DetachedWindow.Height = 350
api.Print(f"Detached window height: {block.DetachedWindow.Height}")
```

