Example #1
0
 private void HidePreview()
 {
     if (this._ucPreview == null)
     {
         return;
     }
     this._loader.Hide(false);
     this._loader    = null;
     this._ucPreview = null;
 }
Example #2
0
 private void HidePreview()
 {
     if (this._ucPreview == null)
     {
         return;
     }
     this._loader.Hide(false);
     this._loader    = (FullscreenLoader)null;
     this._ucPreview = (PreviewImageUC)null;
 }
Example #3
0
 private void ShowPreview(string previewUri, BitmapImage originalImage = null, int topOffset = 0)
 {
     if (this._ucPreview == null)
     {
         this._ucPreview = new PreviewImageUC();
         this._loader    = new FullscreenLoader();
         this._loader.Show((FrameworkElement)this._ucPreview, false);
     }
     this._ucPreview.SetImageUri(previewUri, originalImage);
     ((FrameworkElement)this._ucPreview.imagePreview).Margin = (new Thickness(0.0, (double)topOffset, 0.0, 0.0));
 }