# Editor.PanelWindow.HideOnClose

```csharp
bool HideOnClose { get; set; }
```

When the user closes the window, hide it instead of disposing it, so it can be shown again
with everything still in it. Off by default: closing disposes.

Declared in [Editor.PanelWindow](/api/Editor.PanelWindow).
Assembly: `Sandbox.Tools`.
