protected override void OnNavigatedTo(NavigationEventArgs e) { var id = (int)e.Parameter; var post = ViewModel.GetPost(id); titlePost.Text = post.Title; thumbnailPost.Source = new BitmapImage(new Uri(BaseUri, post.Thumbnail)); contentPost.Text = post.Content; infoPost.Text = post.Author + " - " + post.DateCreated.ToString("dd/M/yyyy"); }