# Sandbox.UI.Panel.OnKeyTyped

```csharp
void OnKeyTyped(char k)
```

Called when a printable character has been typed (pressed) while this panel has input focus. ([Sandbox.UI.Panel.Focus](/api/Sandbox.UI.Panel/Focus))

### Parameters

- `k` (`char`)

Declared in [Sandbox.UI.Panel](/api/Sandbox.UI.Panel).
Assembly: `Sandbox.Engine`.
