mirror of
https://github.com/XFox111/GUTSchedule.git
synced 2026-04-22 06:58:01 +03:00
17 lines
541 B
C#
17 lines
541 B
C#
using System.Collections.Generic;
|
|
using Windows.UI.Xaml.Controls;
|
|
|
|
namespace GUTSchedule.UWP.Controls
|
|
{
|
|
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();
|
|
}
|
|
} |