# Sandbox.UI.FloatingWindow.OnCloseRequested

```csharp
System.Action OnCloseRequested { get; set; }
```

Handles a close request. When unset, closing deletes the window.

Declared in [Sandbox.UI.FloatingWindow](/api/Sandbox.UI.FloatingWindow).
Assembly: `Sandbox.Engine`.
