protected override void OnNavigatedTo(NavigationEventArgs e)
 {
     if (e.Parameter != "")
     {
         mpd         = (MainPageData)e.Parameter;
         DataContext = mpd;
     }
 }
 protected override void OnNavigatedTo(NavigationEventArgs e)
 {
     mpd = (MainPageData)e.Parameter;
     if (mpd.SelectedImage != null)
     {
         imageURL     = mpd.SelectedImage.imageurl;
         image.Source = new BitmapImage(new Uri(imageURL, UriKind.RelativeOrAbsolute));
     }
 }
 protected override void OnNavigatedTo(NavigationEventArgs e)
 {
     mpd = (MainPageData)e.Parameter;
 }