hi,
i use a TimelineView and i would like to know if its possible to block AppointmentEditModeEntered.
When i click on a appointement, sometime i can change the subject. I dont want that.
is it possible ?
Thnx
Hello,
block editing subject in UltraTimeLineView (use ...Entering... instead of ...Entered...):
private void ultraTimelineView1_AppointmentEnteringEditMode(object sender, AppointmentEnteringEditModeEventArgs e) { e.Cancel = true; }
Block displaying Appointment dialog:
this.ultraTimelineView1.CalendarInfo.BeforeDisplayAppointmentDialog += new DisplayAppointmentDialogEventHandler(CalendarInfo_BeforeDisplayAppointmentDialog); private void CalendarInfo_BeforeDisplayAppointmentDialog(object sender, DisplayAppointmentDialogEventArgs e) { e.Cancel = true; } Migeold.
this.ultraTimelineView1.CalendarInfo.BeforeDisplayAppointmentDialog += new DisplayAppointmentDialogEventHandler(CalendarInfo_BeforeDisplayAppointmentDialog);
private void CalendarInfo_BeforeDisplayAppointmentDialog(object sender, DisplayAppointmentDialogEventArgs e) { e.Cancel = true; }
Migeold.