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
100
Can We apply multiple Statday and EndDay Timings for WinSchedule Calendar
posted

Hi,

 I'm trying to give multiple Start Day and End Day for a Particular Owner on Calendar, but i'm unable to do it. Can you please suggest is there any way to do it.

 

Thank you

Regards

Bhaskar

Parents
No Data
Reply
  • 69832
    Offline posted

    Assuming by 'Start Day' and 'End Day' you actually mean the start and end time of the working hours:

    DateTime start = DateTime.Today.AddHours(9f);
    DateTime end = DateTime.Today.AddHours(15f);
    Owner o = this.dayView.CalendarInfo.Owners[0];
    o.DayOfWeekSettings[DayOfWeekEnum.Friday].WorkDayStartTime = start;
    o.DayOfWeekSettings[DayOfWeekEnum.Friday].WorkDayEndTime = end;

Children
No Data