Example #1
0
 private void DisplayAdditionalImage(string url)
 {
     this.ProductImage.Source = new BitmapImage(new Uri(url));
     this.imageOnDisplay = ImageOnDisplay.AdditionalImage;
     this.MainScroller.ScrollToVerticalOffset(0);
 }
Example #2
0
 private void OnImageTap(object sender, System.Windows.Input.GestureEventArgs e)
 {
     if (imageOnDisplay == ImageOnDisplay.ProductImage)
     {
         ProductImage.Source = DetailedImageTextBlock.Source;
         imageOnDisplay = ImageOnDisplay.DetailedImage;
     }
     else
     {
         ProductImage.Source = ProductImageTextBlock.Source;
         imageOnDisplay = ImageOnDisplay.ProductImage;
     }
 }