private void GoToBrowser(IEnumerable<IGalleryItem> gallery, int index, Type page)
 {
     const string navigationParamName = "GalleryInfo";
     var galleryMetaInfo = new GalleryMetaInfo { Gallery = gallery, SelectedIndex = index };
     BootStrapper.Current.SessionState[navigationParamName] = galleryMetaInfo;
     BootStrapper.Current.NavigationService.Navigate(page, navigationParamName);
     return;
 }
 public void Activate(object parameter)
 {
     galleryMetaInfo = (GalleryMetaInfo)Helpers.StateHelper.SessionState[(string)parameter];
     Images = galleryMetaInfo.Gallery;
     FlipViewIndex = galleryMetaInfo.SelectedIndex;
 }
 private void GoToBrowser(IEnumerable<IGalleryItem> gallery, int index, string pageKey)
 {
     const string navigationParamName = "GalleryInfo";
     var galleryMetaInfo = new GalleryMetaInfo { Gallery = gallery, SelectedIndex = index };
     Helpers.StateHelper.SessionState[navigationParamName] = galleryMetaInfo;
     navigationService.NavigateTo(pageKey, navigationParamName);
 }