Hello,
I am currently using the WPF Infragistics controls in my current project. Now I have to make my project multi-target (WPF and Silverlight).
Now I have the problem that I cannot find an equivalent for the ToggleButtonTool.
Hopefully I am just too blind to see it.
Kind regards,
Rainer
Thanx ! It works !
Hi,
Setting the IsChecked property to false in the Click event won't work because you're actually unchecking the button in the event handler, and then it's again being checked internally because it was clicked.
It's just a matter of the order the things are happening. You could use a Dispatcher to delay the unchecking of the RadioButton.
Attached is a sample that you could use as a reference.
Hope that helps,
i've the same problem, and i followed the radiobuttontool option. But I can't figure out how to Uncheck the button (setting the IsChecked proprty to false doesn't work) . Is it because the button isn't in a Group w/ other buttons?
Another solution that might work for you would be to create a custom tool, I talked about it briefly in another thread (link). We're going to be increasing the number of tools available in the ribbon but for now if you require specific functionality that can't be achieved with the existing tools you have this option available to you.
Hello Ranier,
There isn’t yet a complete equivalent but you can use the RadioButtonTool which also has states and which you can use outside of a group in order to mimic a ToggleButton.
Hope this helps.
Sincerely,
Petar Monov
Developer Support Engineer
Infragistics Bulgaria
www.infragistics.com/support