# Sandbox.UI.Panel.HasContent

```csharp
bool HasContent { get; set; }
```

> **Obsolete.** Use Draw

Whether the panel has content to draw.

Declared in [Sandbox.UI.Panel](/api/Sandbox.UI.Panel).
Assembly: `Sandbox.Engine`.
