Пример #1
0
 /// <summary>
 /// 询问
 /// </summary>
 /// <param name="hostService"></param>
 /// <param name="message"></param>
 /// <returns></returns>
 public static IDialogResult Question(this IDialogHostService hostService, string message)
 {
     return(hostService.ShowDialog("QuestionView", new DialogParameters()
     {
         { "Value", message }
     }).Result);
 }
Пример #2
0
 void NavigationPage(string pageName)
 {
     dialogHost.ShowDialog(pageName);
 }