# Editor.PanelWindow.SetIcon

```csharp
void SetIcon(Bitmap icon)
```

The icon in the title bar and on the taskbar button. The OS scales it, so 32 or 64 pixels
square is plenty; it's copied, so the bitmap can go afterwards.

### Parameters

- `icon` (`Bitmap`)

Declared in [Editor.PanelWindow](/api/Editor.PanelWindow).
Assembly: `Sandbox.Tools`.
