# Sandbox.UI.Label.ClearStyleSpans

```csharp
void ClearStyleSpans()
```

Removes all style spans, retaining the buffer for reuse. Does not change text or selection.

Declared in [Sandbox.UI.Label](/api/Sandbox.UI.Label).
Assembly: `Sandbox.Engine`.
