I am trying to display a page as a dialog in Universal Window App (Windows 10).
In WFP, there is this ShowDialog to call on Window:
var msgBox = new MessageWindow();
msgBox.Owner = App.Current.MainWindow;
msgBox.WindowStartupLocation = WindowStartupLocation.CenterOwner;
msgBox.SetMessage(message, messageCategory);
msgBox.ShowDialog();
How do I do something like that in Universal Window App (Windows 10)?
Here is a Sample Picture of how it looks