protected override void OnNavigatedTo(NavigationEventArgs e) { base.OnNavigatedTo(e); oldGame = (WishlistGame)e.Parameter; game_title_textbox.Text = oldGame.GameTitle; system_combobox.ItemsSource = systems; system_combobox.SelectedItem = oldGame.System; system_combobox.PlaceholderText = oldGame.System; datePicker.Date = Convert.ToDateTime(oldGame.ReleaseDate); }
private void MySelectionChanged(object sender, SelectionChangedEventArgs e) { gameClicked = (WishlistGame)e.AddedItems[0]; this.Frame.Navigate(typeof(EditWishlistGame), gameClicked); }