---
nav-title: "button How-To"
title: "How-To"
description: "Examples for using button"
---
# Button
### Declaring button module
Button module is required to use any button feature.
Other frequently used modules when working with buttons include:
### Attaching event handler for the button tap event.
``` XML
```
### Creating a button
### Setting the text of a button
### Responding to the tap event
### Binding text property directly to model