示例#1
0
 private void OnCanBrowseBack(object sender, CanExecuteRoutedEventArgs e)
 {
     // only enable browse back for source frame, do not bubble
     if (HandleRoutedEvent(e))
     {
         e.CanExecute = NavigationService.CanBrowseBack();
     }
 }