//--------------------------------------------------------Events:---------------------------------------------------------------------\\
 #region --Events--
 private void image_img_ImageExFailed(object sender, Microsoft.Toolkit.Uwp.UI.Controls.ImageExFailedEventArgs e)
 {
     imageLoading_grid.Visibility = Visibility.Collapsed;
     image_img.Visibility         = Visibility.Collapsed;
     imageError_grid.Visibility   = Visibility.Visible;
     Message = e.ErrorMessage;
     message_tbx.Visibility = Visibility.Visible;
 }
예제 #2
0
 private void Image_ImageExFailed(object sender, Microsoft.Toolkit.Uwp.UI.Controls.ImageExFailedEventArgs e)
 {
     IsImageOpened = false;
     if (!retry)
     {
         SetImage();
         retry = true;
         "Retry Load Image".PrintDebug();
     }
     else
     {
         if (!retry2)
         {
             SetImage();
             retry2 = true;
             "Retry2 Load Image".PrintDebug();
         }
         else
         {
             IsImageOpened = true;
         }
     }
 }
예제 #3
0
 private void Image_img_ImageExFailed(object sender, Microsoft.Toolkit.Uwp.UI.Controls.ImageExFailedEventArgs e)
 {
     VIEW_MODEL.OnImageExFailed(e.ErrorException, e.ErrorMessage);
 }