# parentUI

> The parent panel component if this panel component is nested; otherwise, null.

## Definition

* **Type:** Property
* **Namespace:** [UnityEngine.UIElements](/engine/6000.5/script-reference/unityengine/uielements.md)
* **Assembly:** UnityEngine.UIElementsModule

```csharp
IPanelComponent parentUI { get; }
```
