Reputation: 2446
ToggleSwitch in WP7 has a SwitchBackground color that one can use to change the background of the toggleswitch. I need to change the color of the slider button itself on the toggle switch. I am talking about the rectangular block that you slide to left or right.
How can I achieve this?
Upvotes: 0
Views: 4728
Reputation: 358
You need to edit the default template of the ToggleSwitch. Here are the steps to how you'd achieve this:
You're now set
Upvotes: 1
Reputation: 14882
Here's a walkthrough of changing the styling of ToggleSwitch. The translation from Swedish to English is automated, but it's not too bad.
To make an override on ToggleSwitch style
As always, be mindful of user interface guidance when modifying supplied styling.
UI Design and Interaction Guide for Windows Phone v2.0 is now available
Upvotes: 2