The Winforms Toggle Switch is a custom control you can import into your toolbox. It is designed to have a flat modern feel to it to make it feel as professional as possible.
To download to custom control, navigate to the following path :
toggle-switch/ToggleSlider/bin/Debug/ToggleSlider.dll
Click "View Raw", and the dll file will automatically download.
You will need the following to be able to use this control :
- .NET Framework
- Windows OS
- Visual Studio
To install this control into the Visual Studio toolbox, open your Visual Studio Winforms Project. Then, open your toolbox, and then right click on any section of the toolbox and then select CHOOSE ITEMS. A window will appear. It will load all of the controls imported. Click the "Browse" button in the window, and find the DLL file you downloaded. Select it and click Open. You should now be able to drag the Toggle Switch into the form and program it.
Here is an example of a program I made using this :
Currently, the toggle switch control supports a mediocre amount of control. New values and events may be added in the future.
- ToggleBarText
- ToggleCircleColor
- ToggleBarColor
Available Events :
- CheckChanged
This project is licensed under the Apache 2.0 License - see the LICENSE file for details