private void PostControl_Tapped(object sender, TappedRoutedEventArgs e) { PostControl postControl = sender as PostControl; if (postControl.GotoReadingPage) { Post post = postControl.DataContext as Post; this.Frame.Navigate(typeof(ReadingPage), post); } }
private void PostControl_Tapped(object sender, TappedRoutedEventArgs e) { try { PostControl postControl = sender as PostControl; postControl.ShowStoryBoard(); } catch (Exception) { } }
private void PostControl_Tapped(object sender, TappedRoutedEventArgs e) { PostControl postControl = sender as PostControl; if (postControl.GotoReadingPage) { Post post = postControl.DataContext as Post; this.Frame.Navigate(typeof(PostReadingPage), post); } else { this.lv_BestPosts.ScrollIntoView(sender, ScrollIntoViewAlignment.Leading); } }