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 Bunifu IOS Switch control at Design Time
Simply locate Bunifu IOS Switch in your toolbox and drag it to your form
Adding Bunifu IOS Switch control at Run Time
To add Bunifu IOS Switch control at run time we will simply use the Load event handler as shown in the code below:
var bunifuSwitch = new Bunifu.Framework.UI.BunifuOSSwitch();
Dim bunifuSwitch As New Bunifu.Framework.UI.BunifuOSSwitch
After running our application you should see something like this
- 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
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.