Hello,
I have found a way to change the timeslot color for a certain time period on the dayview using the code below however when I switch to the week view the red color doesn't show up. How would I change the timeslot color in the ultraweekview since there is no timeslot property link in ultradayview
For Each slot As TimeSlot In actDayView.TimeSlots
If slot.StartTime.Hour > 10 AndAlso slot.EndTime.Hour < 13 Then
slot.WorkingHourAppearance.BackColor =Color.Red
End If
Next
Hello Matthew,
Thank you for posting in Infragistics forum.
Could you please provide us with more details and mockup screenshot, which is showing what are you trying to achieve.
Please do not hesitate to contact us if you have any other question with this matter.
So for just a bit more detail I want to be able to change the color of certain time slots so that I can mark that as Sales Time, or Accounting time, so I can basically section off pieces of my day for certain types of work and I thought color coding would work well, that way I can still schedule appointments in those areas but it allows me to visually see what type of work I should be doing. The first screen shot below shows what I have gotten to work so far, on the day view I was able to change a certain time periond to have a different color of time slots as show below, however when I switch to my week view as you can see the change does not translate over, and when I try to modify the timeslots of the week view I have no clue how to do that, the code above only seems to work for the dayview.