private void BackBtn_Click(object sender, RoutedEventArgs e) { _navigationService.GoBack(); ForwardBtn.GetBindingExpression(Button.IsEnabledProperty).UpdateTarget(); BackBtn.GetBindingExpression(Button.IsEnabledProperty).UpdateTarget(); }
private void Settings_Click(object sender, RoutedEventArgs e) { _navigationService.Navigate(_pages[AppPages.SettingsPage]); ForwardBtn.GetBindingExpression(Button.IsEnabledProperty).UpdateTarget(); BackBtn.GetBindingExpression(Button.IsEnabledProperty).UpdateTarget(); }