Can I make WPF RadioButtons look like CheckBoxes?
I want 开发者_如何学运维to have the behavior of RadioButtons, but show them as CheckBoxes to the user. Is this easy to do?
Yes you can easily do using a ControlTemplate. Edit the template of a CheckBox and copy it to your RadioButton.
I agree that you should do this with caution as you easily can confuse the user.
You probably can do it, but I wouldn't reccomend it. Giving a user one thing when they expect another is seldom a good idea. :D
精彩评论