# TextArea

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

- `DesktopTextArea</api/user_interface/desktop/desktoptextarea>`
- `MobileTextArea</api/user_interface/mobile/mobiletextarea>`
- `WebTextArea</api/user_interface/web/webtextarea>`

## Common members

These events 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                                                                                   |
|------------------|-----------------------------------------------------------------------------------------------|
| TextChanged      | The text has been changed.                                                                    |
| SelectionChanged | The text selection has changed. This event is only supported for desktop and mobile projects. |

### Properties

| Name | Description                                                     |
|------|-----------------------------------------------------------------|
| Text | All of the text in the <span class="title-ref">TextArea</span>. |

<div class="seealso">

`DesktopTextArea</api/user_interface/desktop/desktoptextarea>`, `MobileTextArea</api/user_interface/mobile/mobiletextarea>` and `WebTextArea</api/user_interface/web/webtextarea>`

</div>
