Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Do Windows 8 Store apps have a MessageBox equivalent?

Do Windows 8 Store apps have something like a MessageBox?

I need something like a popup window to show the user e.g. when a input is wrong or a error happened. Is there something already in the API or do I have to make my own?

like image 505
gurehbgui Avatar asked Dec 16 '12 17:12

gurehbgui


2 Answers

Modern UI guidelines sugest inline error messages for input. However, if you still want a MessageBox, you can have it in the MessageDialog.

 MessageDialog dlg = new MessageDialog("Message"); await dlg.ShowAsync();
like image 109
danielrozo Avatar answered Jan 02 '23 07:01

danielrozo


You're looking for the MessageDialog class

like image 35
SLaks Avatar answered Jan 02 '23 08:01

SLaks