Hi everyone,
How does one disable the drag-drop for appointments?
Please help, thank you.
Subscribe to the BeforeAppointmentsMoved in the UltraDayView (or WeekView, or MonthView), and cancel the event:
OnFormLoad
{
_dayView.BeforeAppointmentsMoved += OnBeforeAppointmentMoved;
}
private static void OnBeforeAppointmentMoved(object sender, CancelableAppointmentsEventArgs e){ e.Cancel = true;}
Hope it helps,
Emanuel
I see BeforeAppointmentEdit for the UltraMonthViewSingle control but no BeforeAppoitmentMoved.