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