开发者

Can I make WPF RadioButtons look like CheckBoxes?

开发者 https://www.devze.com 2022-12-09 20:51 出处:网络
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

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

0

精彩评论

暂无评论...
验证码 换一张
取 消