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
Hello,
I am a little confused by your posts. I do not know if all you are describing is part of your requirements. From what I read I understand that you want certain days to have bold text, is that right?
After some research, the "Support for individual day appearance in ultraCalendarLook" has been determined to be a new product idea. I have sent your idea directly to our product management team.
Our product team chooses new ideas for development based on popular feedback from our customer base. Infragistics continues to monitor application development for all of our products, so as trends appear in requested features, we can plan accordingly.
We value your input, and our philosophy is to enhance our toolset based on customer feedback. If your idea is chosen for development, you will be notified at that time.
Your reference number for this product idea is PI12070076.
If you would like to follow up on your request at a later point, you may contact Developer Support management via email. Please include the reference number of your product idea in the subject and body of your email message. You can reach Developer Support management through the following email address: dsmanager@infragistics.com
Thank you for your request.
yes. I want to be able to set some days to bold