Example #1
0
 private void Image_Tapped(object sender, TappedRoutedEventArgs e)
 {
     e.Handled = true;
     PictureClick?.Invoke(this, new WeiboPictureClickEventArgs((sender as Image).DataContext as PictureModel)
     {
         DataContext = DataContext as MessageModel
     });
 }
Example #2
0
 private void WeiboImageList_PictureClick(object sender, WeiboPictureClickEventArgs e)
 {
     e.DataContext = (sender as WeiboImageList).DataContext as MessageModel;
     PictureClick?.Invoke(sender, e);
 }