示例#1
0
        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;
        }
示例#2
0
 public bool IsCached(BoardGame boardGame)
 {
     return(IsCached(boardGame.ObjectId));
 }