# Container

Xojo provides a <span class="title-ref">Container</span> control for desktop, mobile and web projects:

- `DesktopContainer</api/user_interface/desktop/desktopcontainer>`
- `MobileContainer</api/user_interface/mobile/mobilecontainer>`
- `WebContainer</api/user_interface/web/webcontainer>`

## Common members

These methods are both common amongst the desktop, mobile and web versions of the control and are the most commonly used. See the individual controls for more members and details.

### Methods

| Name       | Description                                                              |
|------------|--------------------------------------------------------------------------|
| AddControl | Adds the control passed to the <span class="title-ref">container</span>. |
| ControlAt  | Returns the control at the index passed.                                 |

<div class="seealso">

`DesktopContainer</api/user_interface/desktop/desktopcontainer>`, `MobileContainer</api/user_interface/mobile/mobilecontainer>` and `WebContainer</api/user_interface/web/webcontainer>`

</div>
