Пример #1
0
 private void BackBtn_Click(object sender, RoutedEventArgs e)
 {
     _navigationService.GoBack();
     ForwardBtn.GetBindingExpression(Button.IsEnabledProperty).UpdateTarget();
     BackBtn.GetBindingExpression(Button.IsEnabledProperty).UpdateTarget();
 }
Пример #2
0
 private void Settings_Click(object sender, RoutedEventArgs e)
 {
     _navigationService.Navigate(_pages[AppPages.SettingsPage]);
     ForwardBtn.GetBindingExpression(Button.IsEnabledProperty).UpdateTarget();
     BackBtn.GetBindingExpression(Button.IsEnabledProperty).UpdateTarget();
 }