If I have a button, set IsHitTestVisible="false", and then select the button and hit the space bar, Silverlight RC0mcrashes most heinously.
<Button x:Name="btnHack" Content="I am a hack" Margin="10" Width="100" IsHitTestVisible="False"/>
My ramblings in Silverlight, Windows Azure, .NET, ASP.NET, C# (all the way from the UK) A little place where i can store the snippets of information, which usually get lost in my tiny little brain, and will now forever remain enshrined in the google archives forever.
4 comments:
I was able to easily reproduce this and I've escalated it.
Bill
Thanks Bill
could you explain what the scenario is for making button non-hit testable?
Sure, I have eventually worked around this one.
The button was intercepting the spacebar keyup/keydown keyboard events and I was looking at ways to stop it stealing the events from my image control which my emulator uses.
So to be honest I was messing around with different ideas, which is how i found this issue.
In the end I got past my issue by disabling IsTabStop but obviously the bug still remains
Post a Comment