Exemple #1
0
 private void OnAllowWideCycleTileChanged(object sender, GestureEventArgs e)
 {
     if (CycleTemplate.Exists(MainPageUri))
     {
         CycleTemplate.Remove(MainPageUri);
         ToggleCycleTile.IsChecked = false;
     }
 }
Exemple #2
0
 private void MainPage_Loaded(object sender, RoutedEventArgs e)
 {
     ToggleFlipTile.IsChecked   = FlipTemplate.Exists(MainPageUri);
     ToggleIconicTile.IsChecked = IconicTemplate.Exists(MainPageUri);
     ToggleCycleTile.IsChecked  = CycleTemplate.Exists(MainPageUri);
 }