private void AlbumWrapper_Tapped(object sender, TappedRoutedEventArgs e) { var tappedAlbum = (sender as Grid).DataContext as Album; GlobalVariables.CurrentAlbum = tappedAlbum; CommonNavigationTransitionInfo infoOverride = new CommonNavigationTransitionInfo(); Frame.Navigate(typeof(AlbumPage), null, infoOverride); }
private void AddFlyout(SettingsFlyout settingsFlyout) { var pivotItem = new PivotItem() { Header = settingsFlyout.Title, Content = settingsFlyout, }; CommonNavigationTransitionInfo.SetIsStaggerElement(pivotItem, true); pivot.Items.Add(pivotItem); }
private void btnGotoCommonNavigationTransitionInfo_Click2(object sender, RoutedEventArgs e) { CommonNavigationTransitionInfo commonTransition = new CommonNavigationTransitionInfo(); this.Frame.Navigate(typeof(MyFrame), commonTransition); }