예제 #1
0
 public new IAsyncOperation <bool> Navigate(Type sourcePageType, object parameter)
 {
     return(Task.Run(async() =>
     {
         bool navigated = false;
         await Dispatcher.RunAsync(Windows.UI.Core.CoreDispatcherPriority.High, async() =>
         {
             await AnimationService.FastSlideOut(this);
             navigated = base.Navigate(sourcePageType, parameter, new SuppressNavigationTransitionInfo());
             await AnimationService.FastSlideIn(this);
         });
         return navigated;
     }).AsAsyncOperation());
 }