# PagePanel

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

- `DesktopPagePanel</api/user_interface/desktop/desktoppagepanel>`
- `WebPagePanel</api/user_interface/web/webpagepanel>`

<div class="tip">

<div class="title">

Tip

</div>

In your mobile projects you could create the equivalent by hiding/show `MobileContainers</api/user_interface/mobile/mobilecontainer>`.

</div>

## Common members

These events, methods and properties 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.

### Events

| Name         | Description                     |
|--------------|---------------------------------|
| PanelChanged | The selected panel has changed. |

### Properties

| Name               | Description                                                           |
|--------------------|-----------------------------------------------------------------------|
| PanelCount         | The number of panels in the <span class="title-ref">PagePanel</span>. |
| SelectedPanelIndex | The number (index) of the selected panel.                             |

<div class="seealso">

`DesktopPagePanel</api/user_interface/desktop/desktoppagepanel>` and `WebPagePanel</api/user_interface/web/webpagepanel>`

</div>
