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

Adding Bunifu Image Button at Design Time

Simply locate image button in your toolbox and drag it to your form 

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:

C# code

private void Form1_Load(object sender, EventArgs e)
{
    var button = new Bunifu.Framework.UI.BunifuImageButton();
    this.Controls.Add(button);
}

VB.NET code

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

How to use and apply properties

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

  • Zoom - This property sets the zoom-level of the image. The effect is that the image will zoom on mouse hover at run time.  

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. 

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

Did this answer your question?