예제 #1
0
        private async void SpotlightThumbnail_OnLoaded(object sender, RoutedEventArgs e)
        {
            var dataContext = sender.GetDataContext <SpotlightArticle>();
            var cover       = PixivEx.GetSpotlightCover(dataContext);

            SetImageSource((Image)sender, await PixivEx.FromUrl(cover));
        }