How to have user prompt dialogs in Windows 8 metro apps?

北城余情 提交于 2019-12-06 01:12:54
MBZ

You can simply create a custom UserControl with all the required inputs (such as TextBoxes) and then show it using Popup class.

for example:

Popup myPopup = new Popup();
myPopup.Child = new CustomUserControl();
myPopup.IsOpen = true;

Following on from the spot on answer from MBZ, have you tried looking at "Windows 8 app samples - C#, VB.NET, C++, JavaScript" particularly the "XAML Popup sample".

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!