private void ParticipantsGridView_SelectionChanged(object sender, SelectionChangedEventArgs e) { Project item = ParticipantsGridView.SelectedItem as Project; ParticipantsGridView.PrepareConnectedAnimation("projectView", item, "HeroImageStartCtl"); NavigationManager.NavigateToViewProject(item); }
private async void ParticipantsGridView_Loaded(object sender, RoutedEventArgs e) { if (PersistantProject != null) { ParticipantsGridView.ScrollIntoView(PersistantProject); ConnectedAnimation animation = ConnectedAnimationService.GetForCurrentView().GetAnimation("projectView"); if (animation != null) { await ParticipantsGridView.TryStartConnectedAnimationAsync( animation, PersistantProject, "HeroImageStartCtl"); } } }