Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
290
Resize AllDay appointments in TimeLineView
posted

I have a TimeLineView with PrimaryInterval set to 1 day and an AllDay appointment spanning multiple days. 

When I resize the appointment, it stops being an AllDay appointment, and the EndDate is set to the following day at 00:00.

Is there a way to force the appointment to remain an AllDay appointment when the PrimaryInterval is one day?

 

Parents
  • 9190
    Offline posted

    Hello,

    I will be happy to assist you with this issue.

    I was able to reproduce this issue. Upon further research you should be able to utilize the AppointmentRisized event to set the allDayEvent property to true.

    Please use the following code as reference:

            private void ultraTimelineView1_AppointmentResized(object sender, Infragistics.Win.UltraWinSchedule.AppointmentResizedEventArgs e)
            {
                e.Appointment.AllDayEvent = true;
            }

    Please let me know if you have further questions regarding this matter.

Reply Children