BunifuToggleSwitch2
in your Visual Studio toolbox, and dragging it to the form as demonstrated below. You can quickly customize the control using its properties in the smart tag. Later in this documentation, we will get into deeper detail about its features.BunifuToggleSwitch2
and add it to the form as shown in the codes below:CheckedChanged
event fires whenever the toggle state changes. Here's a code snippet that changes the label text whenever the state changes.CheckedBackColor
UncheckedBackColor
CheckedSwitchColor
CheckedSwitchStyle
Fill
and Outline.
6. UncheckedSwitchColor
7. UncheckedSwitchStyle
Fill
and Outline.
8. OutlineThickness