I am trying to set a backcolor for the calendar in the UltraMonthViewMulti control for days that have appointments assigned. By default the calendar bolds the number of the day. I am trying to set backcolor on the appointment object as below.
Dim app As Infragistics.Win.UltraWinSchedule.Appointment
.......
app.Appearance.BackColor = Color.Blue
I am not assigning CalendarInfo object on the control. Just downloaded the 2010 v3 version. Also wasn't working in 2010 v2.
Brian,
Thanks for your reply. I have tried that but i cannot get it to work. I tried assigning the appearance on the of the AppointmentDataInitialized event of the related UltraCalendarInfo, but i cannot seem to get it to work.
I have attached a sample project. Maybe you could point out where to put the code.
I also tried to hook up a CalendarLook but that only defines 1 overall style for the whole caledar and not the individual appointments that i am looking for
Regards,
Ray
You mentioned the bolding of the days with activity, which is a function of the DayWithActivityAppearance. Since UltraMonthViewMulti doesn't display appointments I must have misunderstood the rest of your question; the Appointment class exposes an Appearance property, so you can define an Appearance object for each criteria, then assign the corresponding appearance to each appointment's Appearance property.
If is use you suggestion all the appointments get the same color. What i wanted to do was set the color based on given set of criteria. Any ideas on how to go about this...
Hello,
Please let us know if you have any other questions.
Set the UltraMonthViewMulti.CalendarLook.DayWithActivityAppearance.BackColor property