在复选框中更改图像 [英] Change the Image in Checkbox

查看:56
本文介绍了在复选框中更改图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是初学者,我正在使用一个复选框来静音和取消静音,并且我不想使用选中的符号.
我想使用图像代替,当它被选中时,我想使用静音图像,而当不是时,我想使用其他图像.有帮助吗?

谢谢

解决方案

您可以改用Button控件,并在每次单击时翻转其图像内容.

这是设置按钮的一种方法.

http://www.developer.nokia.com/Community/Wiki/Creating_a_button_with_an_image_and_text_in_Windows_Phone

-Mark


I am beginner, I am using a checkbox for mute and unmute and i don't want to use checked sign.
I want to use images instead, while it is checked i want to use muted image and when it is not i want to use the other image. Any Help?

Thanks

解决方案

You can use the Button control instead, and flip its image content each time it is Clicked.

Here is one way to set up the button.

http://www.developer.nokia.com/Community/Wiki/Creating_a_button_with_an_image_and_text_in_Windows_Phone

-Mark


这篇关于在复选框中更改图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆