# IMGUIContainer

> Constructor.

## Definition

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

## IMGUIContainer()

Constructor.

```csharp
public IMGUIContainer()
```

## IMGUIContainer(Action)

Constructor.

```csharp
public IMGUIContainer(Action onGUIHandler)
```

### Parameters

**** (\[Action]\(https\://learn.microsoft.com/dotnet/api/system.action)): The function assigned to [IMGUIContainer.onGUIHandler](/engine/6000.3/script-reference/unityengine/uielements/imguicontainer/onguihandler.md).
