async public void Show(AboutPromptItem item) { MyControl.setAuthorName(item.AuthorName); MyControl.setEmailAddress(item.EmailAddress); MyControl.setRole(item.Role); MyControl.setWebSiteUrl(item.WebSiteUrl); this.Content = MyControl; this.PrimaryButtonText = "Ok"; await this.ShowAsync(); }
async public void Show(AboutPromptItem item) { MyControl.setAuthorName(item.AuthorName); MyControl.setEmailAddress(item.EmailAddress); MyControl.setRole(item.Role); MyControl.setWebSiteUrl(item.WebSiteUrl); this.Content = MyControl; this.PrimaryButtonText = "Ok"; await this.ShowAsync(); }