Sliding ToggleButton for WPF 4.0

Rating:        Based on 1 rating
Reviewed:  1 review
Downloads: 1292
Released: Dec 1, 2010
Updated: Dec 2, 2010 by WPFBlogger
Dev status: Stable Help Icon

Recommended Download

Source Code Sliding ToggleButton
source code, 201K, uploaded Dec 2, 2010 - 1292 downloads

Release Notes

Sliding ToggleButton Style gives the cool sliding look to the ToggleButton in your project. You simply need to reference the Resource Dictionary given in the project and apply the style of the sliding ToggleButton. The project shows how you can change the color of the ToggleButton by simply changing the background color of the ToggleButton.

Original Blogpost at: http://www.wpfblogger.com/post/Source-code-for-Style-of-Sliding-ToggleButton-in-WPF.aspx.

Happy Styling

Reviews for this release

     
Overall a very simple control to use. About 2 minutes to add the resource to the project and the App.xaml and away you go. Only thing missing: configurability of the size of the slider and the text in the control (say you wanted something like "Auto/Manual"). I had to play around a bit adding a transform to shrink the button to the size I wanted and then mess around with the fonts afterwards.
by madscientistMike on Apr 24, 2012 at 5:19 PM