I am using an UltraMonthViewMulti control which has its CalendarInfo set to an UltraCalendarInfo which I load dynamically (I am not using AppointmentBinding and am loading the appointment collection based on the days UltraCalendarInfo.activeDay). When I load all of the appointments into the UltraCalendarInfo, then the UltraMonthViewMulti displays any days with appointments as bold. Now that I am no longer loading all the appointments, I would like to manually set this up, i.e. loop though a set of days and set the day to bold based on my own logic.
Something like this:
For theDate as date = startDate to endDate
dim d as day = CalendarInfo .getDay(theDate, false)
d.apprearnce.font.bold = true
next
but there is no apprearance in the day class. How can I do this ?
Hello stokara,
I belive that you need to assign an UltraCalendarLook instance to your UltraMonthViewMUlti control and use the following code in order to achieve the desired look and feel:
ultraCalendarLook1.DayAppearance.FontData.BoldAsString = "True";
Please do not hesitate to contact me if you need any additional assistance.
I already have an ultraCalendarLook control.
I have a query which returns dates with a flag to indicate if there are appointments for that day. I want to use thios query as the basis for a loop which will set the day to bold in then ultraMonthMulti.
I postpone loading the actual appointments until the user clicks on a day and then load the appointments into the ultraCalendarInfo