I would like to prevent the user from editing the subject of an appointment by single clicking on the DayView. Currently single clicking, sets the focus to the clicked appointment, single clicking again, allows the user to edit the subject of the appointment. I would like to proscribe all editing of the subject outside of my customer dialog (which correctly appears when the user double clicks on an appointment by handeling the BeforeDisplayAppointmentDialog). However I would like the users to continue to be able to adjust the time and length of the appointment by adjusting it visually on the day view.
Hi
I tried this in VB.net. Please find following code.
Private
Sub ultraDayView1_BeforeAppointmentEdited(ByVal sender As Object, ByVal e As Infragistics.Win.UltraWinSchedule.CancelableAppointmentEventArgs) Handles
ultraDayView1.BeforeAppointmentEdited
e.Cancel =
True
End Sub
The event is not firing at all.
Handle the BeforeAppointmentEdited event and set the Cancel property of the event arguments to true.