# Bunifu Image Button (Old)

Bunifu image button works like a normal button the only difference is that you can customize and add icons or images within the button.&#x20;

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

Simply locate image button in your toolbox and drag it to your form&#x20;

![](https://downloads.intercomcdn.com/i/o/72974371/da7b65572780d77aa762caee/1-15\[1].png)

### **Adding Bunifu Image Button at Run Time**

To add Bunifu Image Button at run time we will simply use the Load event handler in order to add a Bunifu Image Button on our form:

### **Code**

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

```
private void Form1_Load(object sender, EventArgs e)
{
    var button = new Bunifu.Framework.UI.BunifuImageButton();
    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.BunifuImageButton
    Controls.Add(button)
    
End Sub
```

{% endtab %}
{% endtabs %}

## Properties

### Image

Under properties section simply click Choose Image… to set image at design time

![](https://downloads.intercomcdn.com/i/o/72974820/9d3bb9ea98758a64796845c4/Capture\[1].png)

### &#x20;**Zoom**&#x20;

This property sets the `zoom-level` of the image. The effect is that the image will zoom on mouse hover at run time.&#x20;

That's it!

We hope you will enjoy using Bunifu Image Button 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.
