# Bunifu Tile Button

Bunifu Tile Button is by default combines both an image and text to create a nice intuitive buttons for your user interface.&#x20;

## **Adding Bunifu Tile Button at Design Time**

Ensure you have imported Bunifu controls to your toolbox. If not import the required dlls and add them to your toolbox.&#x20;

After that, locate Bunifu Tile Button bar in the toolbox then drag to your form.&#x20;

![](https://downloads.intercomcdn.com/i/o/73199800/06c0db9a94526b4eaa328959/1-18\[1].png)

**Adding Bunifu Tile Button at Run Time**

We will use the form load event as illustrated below

{% tabs %}
{% tab title="C#" %}

```csharp
private void Form1_Load(object sender, EventArgs e)
{

    var button = new Bunifu.Framework.UI.BunifuTileButton();
    this.Controls.Add(button);
    
}
```

{% endtab %}

{% tab title="VB.NET" %}

```
Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load

    Dim button As New Bunifu.Framework.UI.BunifuTileButton
    Controls.Add(button)

End Sub

```

{% endtab %}
{% endtabs %}

## **Properties**

### **`Color`**

The property allows you to set the background color of the button

### **`ColorActive`**

This property allows you to set the background color of button when clicked

### **`Image`**

This property allows you to set the to be image placed on our button

### &#x20;**`ImagePosition`**

This property allows you to define the position of the image inside the button

### **`ImageZoom`**

This property allows you to set the zoom of the image

### **`LabelPosition`**

This propety allows you to set the position of the label inside the button

### **`LabelText`**

This property allows you to define the text of the label in the button

That's it! Adding Bunifu Tile Button is that simple.

We hope you will find Bunifu Thin  Button useful and that it will help you create better user experience for your users.&#x20;

Should you have feedback or suggestions please send us via chat on the bottom right corner of the screen.&#x20;
