When a reminder is dismissed using the "Dismiss All" button which contains this ScheduleAppointment as a member of the ScheduleAppointmentCollection it throws an Exception.
var appt = new ScheduleAppointment()
{
StartTime = DateTime.Now.AddDays(30),
EndTime = DateTime.Now.AddDays(30).AddHours(1),
AppointmentBackground = new SolidColorBrush((Color)ColorConverter.ConvertFromString("#FF00ABA9")),
Subject = "Conference",
Reminders = new ObservableCollection
new SchedulerReminder { ReminderTimeInterval = new TimeSpan(2, 0, 0, 0)},
}
}
If you change the StartTime and EndTime to DateTime.Now.AddDays(21) the control will not throw an Exception.