Create a gist now

Instantly share code, notes, and snippets.

@KooKiz /AdaptiveImage.cs Secret
Created Jan 12, 2016

if (source?.LowResSource == null)
{
return;
}
var lowResSource = new BitmapImage { UriSource = new Uri(source.LowResSource) };
this.LowResImage = new Image { Source = lowResSource };
this.LayoutRoot.Children.Add(this.LowResImage);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment