Пример #1
0
 private void NavigateInternal(Uri path)
 {
     SmartDispatcher.BeginInvoke(() =>
     {
         Debug.WriteLine("NavigationService::Navigating to {0}", path);
         PlatformNavigationService.Navigate(path);
     });
 }
Пример #2
0
 private void RemoveEntries(int numberOfItemsToRemove)
 {
     for (var counter = 0; counter < numberOfItemsToRemove; counter++)
     {
         if (PlatformNavigationService.CanGoBack())
         {
             PlatformNavigationService.RemoveBackEntry();
         }
         else
         {
             return;
         }
     }
 }