I´d like to know if I can call a MessageDialog from a ContentDialog.
Thanks in advance.
I just tried to do so with a ContentDialog inside another ContentDialog. It did not work. The error message was "Only one ContentDialog can be openend at the same time". I am geussing this will also count for the MessageDialog.
是的,您可以从内容对话框中调用消息对话框。如果发生“只能同时打开一个ContentDialog”错误,则只需在调用MessageDialog.ShowAsync()方法之前先调用ContentDialog.Hide ()方法即可。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.