# Sandbox.UI.Panel.AddClass

```csharp
void AddClass(string classname)
```

Adds CSS class(es) separated by spaces to this panel.

### Parameters

- `classname` (`string`)

Declared in [Sandbox.UI.Panel](/api/Sandbox.UI.Panel).
Assembly: `Sandbox.Engine`.
