开发者

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

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜