private void OnAllowWideCycleTileChanged(object sender, GestureEventArgs e) { if (CycleTemplate.Exists(MainPageUri)) { CycleTemplate.Remove(MainPageUri); ToggleCycleTile.IsChecked = false; } }
private void OnTogglingCycleTile(object sender, GestureEventArgs e) { if (ToggleCycleTile.IsChecked.GetValueOrDefault()) { CycleTemplate.CreateOrUpdate( CycleTileNewsCount.Text.GetIntOrZero(), MainPageUri, CycleWideFlipTile.IsChecked.GetValueOrDefault()); } else { CycleTemplate.Remove(MainPageUri); } }