# Sandbox.UI.Panel.OnButtonTyped

```csharp
void OnButtonTyped(ButtonEvent e)
```

Called when any keyboard button has been typed (pressed) while this panel has input focus. ([Sandbox.UI.Panel.Focus](/api/Sandbox.UI.Panel/Focus))

### Parameters

- `e` (`ButtonEvent`)

Declared in [Sandbox.UI.Panel](/api/Sandbox.UI.Panel).
Assembly: `Sandbox.Engine`.
