---
id: "M:cAlgo.API.Window.Show"
kind: "method"
type: "T:cAlgo.API.Window"
url: "https://help.ctrader.com/ctrader-algo/references/Controls/Windows/Window/Show/"
---

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

# Window.Show

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

## Show()

Shows the window

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

- CLI: Never shown: Show, Hide and Close send nothing; IsVisible stays false and window events never fire.
- Cloud: Never shown: Show, Hide and Close send nothing; IsVisible stays false and window events never fire.

C#:

```csharp
public void Show()
```

Python:

```python
window.Show() -> None
```

### Examples

C#:

```csharp
var window = new Window { Title = "Trade summary", Width = 300, Height = 150 };
window.Child = new TextBlock { Text = "Open positions: " + Positions.Count, Margin = 10 };
window.Show();
```

Python:

```python
window = Window()
window.Title = "Trade summary"
window.Width = 300
window.Height = 150
textBlock = TextBlock()
textBlock.Text = f"Open positions: {api.Positions.Count}"
window.Child = textBlock
window.Show()
```

