/// <summary>
 /// Load the photo and description
 /// </summary>
 public override void OnAttachedToWindow ()
 {
     base.OnAttachedToWindow ();
     if (Photo != null) {
         dateTime.Text = string.Format ("{0} {1}", Photo.Date.ToString ("t"), Photo.Date.ToString ("d"));
         optionalCaption.Text = Photo.Description;
         deletePhoto.Visibility = Photo.Id != 0 ? ViewStates.Visible : ViewStates.Invisible;
         if (Photo.Image != null) {
             imageBitmap = BitmapFactory.DecodeByteArray (Photo.Image, 0, Photo.Image.Length);
             imageBitmap = imageBitmap.ResizeBitmap (Constants.MaxWidth, Constants.MaxHeight);
             photo.SetImageBitmap (imageBitmap);
         }
     } else if (PhotoStream != null) {
         imageBitmap = BitmapFactory.DecodeStream (PhotoStream);
         imageBitmap = imageBitmap.ResizeBitmap (Constants.MaxWidth, Constants.MaxHeight);
         photo.SetImageBitmap (imageBitmap);
         deletePhoto.Visibility = ViewStates.Invisible;
     }
 }