Switch Button Control

Switch button control is designed to be used anywhere you need to represent the two state setting in your application. For example web server running, auto-save option in your application etc. Here is how control looks like in such an usage case:

DotNetBar Switch Button Control

In screen-shot above we customized OFF state background on middle switch to better express the state control represents. Contrast that with following screen-shot shows the default appearance of control in Office 2010 style:

DotNetBar Switch Button Control Office 2010 style Default Appearance

Control colors can be completely customized per-instance and for all instances by changing Office2007Color table. Here is screen-shot that shows control with customized colors:

DotNetBar Switch Button Control Customized Colors

Notice that all colors are nice looking gradients, but when you customize colors you simply set single color for the state and using that single color we derive great looking gradient. Simple to customize and great looking.

Switch button will also animate the state transition to provide pleasing visual effect:

DotNetBar Switch Button Control State Animation

Download fully functional trial of DotNetBar Suite for Windows Forms now and experience how easy it is to create professional looking applications.

  • $264 per developer or less!
  • 100% royalty-free
  • 12 months of all and any updates
  • E-Mail Support for 12 months

  • Fully functional 28-day trial.

DotNetBar readers choice award
DotNetBar is winner of Visual Studio Magazine Readers’ Choice Award as the Best User Interface Component for Windows Forms among more than 30 UI components. Thank you for voting and choosing DotNetBar.