Skip to content

Instantly share code, notes, and snippets.

@kevingosse
Created January 12, 2016 21:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kevingosse/112689f4a048f0554541 to your computer and use it in GitHub Desktop.
Save kevingosse/112689f4a048f0554541 to your computer and use it in GitHub Desktop.
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