开发者

how to add mouserightbuttondown event to stackpanel in silverlight 3

开发者 https://www.devze.com 2023-01-11 05:56 出处:网络
开发者_JS百科how to add mouserightbuttondown event to stackpanel in silverlight 3In Silverlight 3 its quite tricky,probably the best solution all other things being equal is start using Silverlight 4.
开发者_JS百科

how to add mouserightbuttondown event to stackpanel in silverlight 3


In Silverlight 3 its quite tricky, probably the best solution all other things being equal is start using Silverlight 4. However I guess you would if you could, so...

Take a look at this blog and in particular the contribution of code fome "scommisso"/

The fundemental idea is to enlist the host browsers oncontextmenu event then some hit testing to determine if the mouse is over your stackpanel. Still has limitations and gotchas though.

0

精彩评论

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

关注公众号