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
2805
set the style for working hours
posted

In the day/week view, if the time slot is not in the working hours of the resource, how can we set the different style so that we can see the difference?

  • 138253
    Verified Answer
    Offline posted

    Hello,

     

    Thank you for your post. I have been looking into it and I created a sample project for you with the functionality you want. Basically I copied the default Style of the TimeSlotPresenter and added a Trigger for the IsWorkingHour Property and set the Background of a Border from the Template to Red if it is not a working hour. Please let me know if this helps you or you need further assistance on this matter.

     

    Looking forward for your reply.

    ScheduleNonWorkingHoursSlotStyle.zip