private void ItemsGridView_ItemClick(object sender, ItemClickEventArgs e) { ConnectedAnimationService.GetForCurrentView().DefaultDuration = TimeSpan.FromSeconds(0.5); s_persistedItemIndex = ItemsGridView.Items.IndexOf(e.ClickedItem); ItemsGridView.PrepareConnectedAnimation("BorderSource", e.ClickedItem, "BorderSource"); Frame.Navigate(typeof(NavigationFlowDestinationPage), s_persistedItemIndex); }