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
220
Display only working hours
posted

I am writing a scheduling application for an office.  Since they will never schedule appointments during non working hours I only want to dislplay the working hours.  Is there a way to do this in the dayview control?

 

Thanks,

 

John  

Parents
  • 69832
    Offline posted

    this.dayView.CalendarInfo.LogicalDayOffset = TimeSpan.FromHours(9);
    this.dayView.CalendarInfo.LogicalDayDuration = TimeSpan.FromHours(8);

    Note that the control supports different working hours for each day of the week; it does not however support a different logical day definition for each day of the week.

Reply Children
No Data