开发者

Modal Pop Up on top of panorama control

A simple question:

My application first page is a panorama page. I want to show a modal pop up if user click on a button.

Can I show a modal pop up on top o开发者_StackOverflow社区f panorama control?

By the way, How can I show a modal pop up?


There are a number of options:

  1. Use the Popup control.
  2. Use regular visual elements to construct your own dialog and show/hide accordingly.
  3. Use a third party library such as the Coding4Fun Toolkit that includes controls that provide this functionality (such as InputPrompt, MessagePrompt or PasswordPrompt).

Personally, I'd go with either 2 or 3, because 1 has issues with handling orientation changes and performance issues that won't be fixed until the Mango release at the earliest.


If you mean modal as in a child window, then what you can do is create a canvas that becomes visible when the user clicks on a button. It really is quite an easy solution, but if I have not answered the way you wish let me know, also, there is a great video tutorial site that the XNA website uses: http://channel9.msdn.com/series/windows-phone-7-development-for-absolute-beginners

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜