private void ExpansionListSelector_SelectionChanged(object sender, SelectionChangedEventArgs e) { var source = (LongListSelector)sender; BoardGame boardGame = (BoardGame)source.SelectedItem; if (source.SelectedItem == null) { return; } NavigationService.Navigate(new Uri(String.Format("/DetailsPage.xaml?objectId={0}", boardGame.ObjectId), UriKind.Relative)); source.SelectedItem = null; }
public bool IsCached(BoardGame boardGame) { return(IsCached(boardGame.ObjectId)); }