//--------------------------------------------------------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; }
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; } } }
private void Image_img_ImageExFailed(object sender, Microsoft.Toolkit.Uwp.UI.Controls.ImageExFailedEventArgs e) { VIEW_MODEL.OnImageExFailed(e.ErrorException, e.ErrorMessage); }