# Element

**Inheritance:** None\
**Xamarin.Forms documentation:** Element [API](https://docs.microsoft.com/en-us/dotnet/api/xamarin.forms.element)

### Constructors

This control can’t be instantiated on its own. Its properties and events are inherited by its descendants.

### Properties

| Properties                  | Description                                  |
| --------------------------- | -------------------------------------------- |
| automationId(value: string) | Sets the automation identifier of the widget |

### Events

| Events                   | Description                            |
| ------------------------ | -------------------------------------- |
| onMounted(value: ‘msg)   | Listens for the widget being mounted   |
| onUnmounted(value: ‘msg) | Listens for the widget being unmounted |
