//Event that when navigated to this page, the double tapped item will show all the appropriate information. protected override void OnNavigatedTo(NavigationEventArgs e) { SlotTemplate item = e.Parameter as SlotTemplate; //assigns a variable to the list object that is passed by a parameter ViewHistory.Items.Add(item); }
//Event that when will assign the double clicked date as a parameter and pass it to the slotHistoryView. private void MainListView_OnDoubleTapped(object sender, DoubleTappedRoutedEventArgs e) { SlotTemplate item = MainListView.SelectedItem as SlotTemplate; this.Frame.Navigate(typeof(SlotHistoryView), item); }