Skip to content

Instantly share code, notes, and snippets.

@kevingosse
Created January 13, 2016 19:46
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/add1eee2c57e711941d4 to your computer and use it in GitHub Desktop.
Save kevingosse/add1eee2c57e711941d4 to your computer and use it in GitHub Desktop.
private void ImageFailed(object sender, ExceptionRoutedEventArgs e)
{
this.ProgressIndicator.IsActive = false;
}
private void ImageOpened(object sender, RoutedEventArgs e)
{
if (this.HiResImage != null)
{
this.LayoutRoot.Children.Remove(this.LowResImage);
this.HiResImage.Visibility = Visibility.Visible;
this.ProgressIndicator.IsActive = false;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment