# IPanelComponent

> Interface for UI panel components, PanelRenderer and UIDocument.

## Definition

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

```csharp
public interface IPanelComponent
```

## Properties

| Property                                                                                                           | Description                                                                                                                                                                              |
| ------------------------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [gameObject](/engine/6000.7/script-reference/unityengine/uielements/ipanelcomponent/gameobject.md)                 | The GameObject this panel component is attached to.                                                                                                                                      |
| [panelSettings](/engine/6000.7/script-reference/unityengine/uielements/ipanelcomponent/panelsettings.md)           | The panel settings used by this panel component.                                                                                                                                         |
| [parentUI](/engine/6000.7/script-reference/unityengine/uielements/ipanelcomponent/parentui.md)                     | The parent panel component if this panel component is nested; otherwise, null.                                                                                                           |
| [pivot](/engine/6000.7/script-reference/unityengine/uielements/ipanelcomponent/pivot.md)                           | The pivot point of the world space panel.                                                                                                                                                |
| [pivotReferenceSize](/engine/6000.7/script-reference/unityengine/uielements/ipanelcomponent/pivotreferencesize.md) | The reference size mode for the pivot of the world space panel.                                                                                                                          |
| [position](/engine/6000.7/script-reference/unityengine/uielements/ipanelcomponent/position.md)                     | The position (relative or absolute) of the world space panel.                                                                                                                            |
| [sortingOrder](/engine/6000.7/script-reference/unityengine/uielements/ipanelcomponent/sortingorder.md)             | The sorting order of the panel component.                                                                                                                                                |
| [visualTreeAsset](/engine/6000.7/script-reference/unityengine/uielements/ipanelcomponent/visualtreeasset.md)       | The VisualTreeAsset used by this panel component.                                                                                                                                        |
| [worldSpaceSize](/engine/6000.7/script-reference/unityengine/uielements/ipanelcomponent/worldspacesize.md)         | The fixed size of the world space panel, used when [\_worldSpaceSizeMode](/engine/6000.7/script-reference/unityengine/uielements/ipanelcomponent/worldspacesizemode.md) is set to Fixed. |
| [worldSpaceSizeMode](/engine/6000.7/script-reference/unityengine/uielements/ipanelcomponent/worldspacesizemode.md) | The mode used to determine the size of the world space panel.                                                                                                                            |

## Methods

| Method                                                                                                           | Description                                                             |
| ---------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------- |
| [PerformUpdate](/engine/6000.7/script-reference/unityengine/uielements/ipanelcomponent/performupdate.md)         | Updates the panel component.                                            |
| [PerformValidation](/engine/6000.7/script-reference/unityengine/uielements/ipanelcomponent/performvalidation.md) | Validates the panel component after the associated assets have changed. |
