private void OnPageLoaded(object sender, RoutedEventArgs e) { this.page.NavigationService.Navigating += OnPageNavigating; this.SetButtonsEnabled(); }