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

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

# TradeWatchTab.Width

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

## Width

Returns current width of 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
double Width {get;}
```

Python:

```python
tradeWatchTab.Width: float
```

### Returns

`double` — 

### Examples

C#:

```csharp
var tab = TradeWatch.AddTab("My Tab");
Print("Tab width: {0}", tab.Width);
```

Python:

```python
tab = api.TradeWatch.AddTab("My Tab")
api.Print(f"Tab width: {tab.Width}")
```

