I am trying to delete a recurring appointment from the UltraMonthViewSingle, I have reference to an appointment but it is not removed from the UltraMonthViewSingle.
private void ultraMonthViewSingle_DoubleClick(object sender, EventArgs e)
{
Point point = ultraMonthViewSingle.PointToClient(new Point(MousePosition.X, MousePosition.Y));
Appointment appointment = ultraMonthViewSingle.GetAppointmentFromPoint(point);
if (appointment != null)
if (appointment.RecurringAppointmentRoot != null)
//recurring appointment, does not work removes only current appointment not series
appointment.RecurringAppointmentRoot.IsRemoved = true;
appointment.IsRemoved = true;
}
else
//edit appointment, this works
Just remove the root appointment from the Appointments collection
Can you pleas point out in above code what needed to be done, I have tried the code below but it is not working.