public DetailPageViewModel(ItemViewModel itemmodel)
        {
            this.ItemViewModel = itemmodel;
            this.Images = new ObservableCollection<FestivalImage>();

            // get the flickr photos
            GetPhotos();
        }
 public PhotoPageViewModel(ItemViewModel item)
 {
     ClosePhotoWindow = new RelayCommand(CloseWindow);
     Festival = item.Festival;
 }
Beispiel #3
0
 private void OnFestivalSelected(ItemViewModel viewmodel)
 {
     Messenger.Default.Send(new Uri("/DetailPage.xaml?selectedItem=" + viewmodel.Festival.FestivalID, UriKind.Relative), "NavigationRequest");
 }