开发者

how to add mouserightbuttondown event to stackpanel in silverlight 3

开发者_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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜