开发者

How to force control ignore any gui events in Silverlight

开发者 https://www.devze.com 2023-01-18 01:58 出处:网络
I have a simple page with canvas control. Inside canvas I have some SL controls like buttons, textboxes etc.

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

精彩评论

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