ratishphilip/wpfspark

ToggleSwitch

Closed this issue · 4 comments

Hi,
I am using ToggleSwitch to my project and I notice that you have removed the IsChecked functionality. Is there is any way to initialize the state of the ToggleSwitch with bindings?

@mavris ToggleSwitch derives from ToggleButton class and it does have IsChecked property. It is not removed.

Sorry, what I meant is that I am binding a boolean to IsChecked and it doesn't affect the UI. I also tried to set it to "false" but it still not working.

I just tested your scenario. It seems to be working for me.
Check out the sample project attached below.

WpfSparkTester2.zip

It's working thanks. I don't what what went wrong.