Example #1
0
 private void Clear()
 {
     foreach (Button but in ContentPanel.Children.OfType <Button>())
     {
         ItemTurnstileTransition.SetItemContinuumMode(but, ContinuumModeEnum.None);
     }
 }
Example #2
0
 private void Button_Click(object sender, RoutedEventArgs e)
 {
     Clear();
     ItemTurnstileTransition.SetItemContinuumMode(sender as UIElement, ContinuumModeEnum.ForwardOutBackwardIn);
     NavigationService.Navigate(new Uri("/Examples/TurnstileExamplePage1.xaml", UriKind.Relative));
 }