1
0
mirror of https://github.com/XFox111/GUTSchedule.git synced 2026-04-22 06:58:01 +03:00
Files
GUTSchedule/GUT.Schedule/GUTSchedule.UWP/ClearCalendarControl.xaml.cs
T
2020-03-13 14:21:30 +03:00

17 lines
532 B
C#

using System.Collections.Generic;
using Windows.UI.Xaml.Controls;
namespace GUTSchedule.UWP
{
public sealed partial class ClearCalendarControl : ContentDialog
{
public IEnumerable<object> SelectedCalendars => targetsList.SelectedItems;
public bool ClearUpcomingOnly => clearUpcoming.IsChecked.Value;
public ClearCalendarControl() =>
InitializeComponent();
private async void ContentDialog_Loaded(object sender, Windows.UI.Xaml.RoutedEventArgs e) =>
targetsList.ItemsSource = await Calendar.GetCalendars();
}
}