public async static void ShowPopup(string str) { ContentDialog dlg = new ContentDialog(); var detail = new Contact_Data_New_Page(str, dlg); dlg.Content = detail; await dlg.ShowAsync(); }
private async System.Threading.Tasks.Task NewDialogAsync() { Contact_Data_New_Page.ShowPopup("Your content here"); }