Bunifu IOS Switch (1.5.3)
IOS style inspired switch control
Bunifu IOSwitch is a simple stylish switch control that is similar to a CheckBox. In UWP there is a control named switch with the same functionality as Bunifi IOSwitch. You can add it to your design at design time and at run time.

Adding control at Design Time

Simply locate Bunifu IOS Switch in your toolbox and drag it to your form

Adding control at Runtime

To add Bunifu IOS Switch control at run time we will simply use the Load event handler as shown in the code below:

Code

C#
VB.NET
1
2
var bunifuSwitch = new Bunifu.Framework.UI.BunifuOSSwitch();
3
this.Controls.Add(bunifuSwitch);
4
Copied!
1
2
Dim bunifuSwitch As New Bunifu.Framework.UI.BunifuOSSwitch
3
Controls.Add(bunifuSwitch)
4
Copied!
After running our application you should see something like this

Properties

OnColor

This property allows you to set the color of the switch when its state is ON

OffColor

This property allows you to set the color of the switch when its state is OFF
That's it!
We hope you will enjoy using Bunifu IOS Switch 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 1yr ago