Easily create a modern stylish outline button that blends well with your design using Bunifu Thin Button.

 Adding Bunifu Thin Button at Design Time

Ensure you have imported Bunifu controls to your toolbox. If not import the requred dlls and add them to your toolbox. 

After that, locate Bunifu Thin Button in the toolbox then drag to your form 

Adding Bunifu Thin Button at Run Time

We will use the Load event to exemplify the way we can add Bunifu Thin Button on our form at Run Time

C# code

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

 

Controls.Add(button)

End Sub

Custom properties

Border Properties

  • ActiveBorderThickness - This property allows you to set the border thickness of the button when it is in default state
  • ActiveCornerRadius - This property allows you to define the roundness of the corners of the button when it is in active mode
  • IdleBorderThickness -  This property allows you to set the border thickness of the button when on default
  • IdleCornerRadius - This property allows you to set the corner radius of the button when on default

Color Properties

  • ActiveFillColor - This property allows you to define the background color of the button when in active mode
  • ActiveForecolor - This property allows you to set the text or font color of the button when in active mode
  • ActiveLineColor - This property allows you to set the color of the border line when the button is in active mode
  • IdleFillColor - This property allows you to set the background color of the button when in idle mode
  • IdleForeColor - This property allows you to set the foreground color, text or font color of the button when in idle mode
  • IdleLineColor - This property allows you to define the color of the border line when in idle mode

Below is an example of customized Bunifu Thin Button.

That's it! 

We hope you will find Bunifu Thin Button useful 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?