I catch the AfterAppointmentsMoved event and chang the subject of the Appointment.
The subject is changed, however it does not refresh on the dayview. Is there any work arround?
NOTE: In the AfterAppointmentResized, changing the subject reflect on the day view immediately
UltraDayView.UIElement.DirtyChildElements( true );
I tried it your suggestion but it does not work. Is there other solution?
I need this because we want to display the start time and duration on the Appoinment subject.
private void dayView_AfterAppointmentsMoved(object sender, AfterAppointmentsMovedEventArgs e){ UltraDayView dayView = sender as UltraDayView; UltraCalendarInfo calendarInfo = dayView.CalendarInfo; SelectedAppointmentsCollection selectedAppointments = calendarInfo.SelectedAppointments;
for ( int i = 0; i < selectedAppointments.Count; i ++ ) { Appointment appointment = selectedAppointments[i]; appointment.Subject = appointment.StartDateTime.ToShortTimeString(); }}