Bunifu IOS Switch (1.5.3)
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
var bunifuSwitch = new Bunifu.Framework.UI.BunifuOSSwitch();
this.Controls.Add(bunifuSwitch);
Dim bunifuSwitch As New Bunifu.Framework.UI.BunifuOSSwitch
Controls.Add(bunifuSwitch)
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.