<ContentDialog
    x:Class="GUTSchedule.UWP.Controls.ClearCalendarControl"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
	xmlns:appointments="using:Windows.ApplicationModel.Appointments"
	mc:Ignorable="d"
	x:Uid="clearScheduleTitle"
	Loaded="ContentDialog_Loaded"
	Title="Clear schedule calendar"
	
	SecondaryButtonText="Cancel"
	PrimaryButtonText="Clear">

	<StackPanel>
		<ListView SelectionMode="Multiple" x:Name="targetsList">
			<ListView.ItemTemplate>
				<DataTemplate x:DataType="appointments:AppointmentCalendar">
					<TextBlock Text="{Binding DisplayName}"/>
				</DataTemplate>
			</ListView.ItemTemplate>
		</ListView>
		<CheckBox x:Uid="clearUpcoming" Content="Remove only upcoming events" x:Name="clearUpcoming"/>
	</StackPanel>
</ContentDialog>