Bunifu Switch (1.5.3)
Modern stylish switch control
Bunifu Switch is a simple control, similar to a CheckBox control and represents ON and OFF states of an action.
Simply locate Bunifu Switch in your toolbox and drag it to your form.

To add at run time simply place the following lines of code in an Event Handler for example you can sue the Load event then add code
C#
VB.NET
var bunifuSwitch = new Bunifu.Framework.UI.BunifuSwitch();
this.Controls.Add(bunifuSwitch);
Dim bunifuSwitch As New Bunifu.Framework.UI.BunifuSwitch
Controls.Add(bunifuSwitch)
on running the code the result should be as below:

This property sets the color of the swich when the state is ON
This property allows you to set the color of the switch OFF state
This property allows you to define the font color on the text on your switch
This property allows you to specify the roundness of the corners of the switch



The result should be as below

That's it!
We hope you will enjoy using Bunifu Switch control 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.
Last modified 3yr ago