开发者

How to force control ignore any gui events in Silverlight

I have a simple page with canvas control. Inside canvas I have some SL controls like buttons, textboxes etc. Also I cover the controls by semi-transparent Image control. So, when I click on some button, the click message doesn't reach the button, because I click on Image.

Is there a way to say 开发者_如何学Pythonthe Image that it must not handle any gui events ?

p.s I use SL4


You should add IsHitTestVisible="False" to your image.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜