Silverlight中按钮内的图像 [英] Image inside Button in Silverlight

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

问题描述

我想将图片标签放在按钮内。


为此我在silverlight中写了以下代码



<



按钮 >





< 图像 来源 =" 1.png">< / 图像 >





< / 按钮 < span style ="font-size:x-small; color:#0000ff">>

令人困惑的部分是它在设计模式下显示图像。
但是当我运行我的silverlight时应用程序,它显示imageerror#4001。
我浏览所有论坛,但没有任何对我有用。

请任何人解决。
谢谢......

解决方案

您可能想尝试Silverlight论坛:

http://silverlight.net/forums/

Hi,
I want to place image tag inside of button.

For this i written the following code in silverlight

<

Button>

 

<Image Source="1.png"></Image>

 

</Button>

The confusing part is it is showing image in design mode.
But when i run my silverlight application, it is showing imageerror #4001.
I browse all the forums, but nothing worked for me.

Please can anyone resolve it.
Thanks...

解决方案

You may want to try the Silverlight forums:

http://silverlight.net/forums/


这篇关于Silverlight中按钮内的图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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