# Sandbox.UI.Panel.Ancestors

```csharp
IEnumerable<Panel> Ancestors { get; set; }
```

Returns all ancestors, i.e. the parent, parent of our parent, etc.

Declared in [Sandbox.UI.Panel](/api/Sandbox.UI.Panel).
Assembly: `Sandbox.Engine`.
