private void StackPanel_Tapped(object sender, TappedRoutedEventArgs e) { var SenderFramework = (FrameworkElement)sender; var DataContext = SenderFramework.DataContext; FavouritesJSON SenderPost = DataContext as FavouritesJSON; WebWeb.Navigate(new Uri(SenderPost.UrlJSON)); }
private void Favorites_ItemClick(object sender, ItemClickEventArgs e) { FavouritesJSON SenderPost = e.ClickedItem as FavouritesJSON; WebWeb.Navigate(new Uri(SenderPost.UrlJSON)); }