Is it possible (out of the box) for the UltraDayView calendar control to highlight the background of spanned timeslots as MS Outlook does (see image below) or will I have to manage this somehow with a DrawFilter? As you can see, the appointment appears in the AllDayEvents area, but those timeslots in which it overlaps are shaded.
Hello Tonic2012,
This, I think, could be achieved using DrawFilter. You could remove borders with it and draw some. So this should be the way to take. I have to tell you that this could lead to some unexpected behaviors, yet it is a good approach if used carefully. If you want that to be implemented safely, I could log a new product idea for you.
Hi Boris,
I think logging it as a new product idea would be wise. I've done a bit of experimentation with the DrawFilter and don't know if I'll have much success.
My initial prototyping has been to handle the BeforeDrawElement phase of the AllDayEventUIElement within the IUIElementDrawFilter.DrawElement interface method for the UltraDayView (I hope my use of the jargon is correct), and then find those TimeSlotUIElements which intersect the Appointment which is about to be drawn. However I am unable to test for that intersection given that the properties of a TimeSlotUIElement that I most need to interogate are protected, i.e. StartDateTime, EndDateTime and TimeSlot. I've tried creating a class which inherits the TimeSlotUIElement class but get errors when I try to convert it to my derived class. Can you provide any general ideas on how I could proceed with this task? Your help will be most gratefully appreciated.
Tony
Hello Tony,
After some research, the "Idea of coloring the background of UltraDayView time slots occupied by Mult-Day events" has been determined to be a new product idea. I have sent your idea directly to our product management team. I also mentioned about this look and feel in MS Outlook 2010.
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 PI12090081.
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. Please to log the idea of coloring the backgrounds of those UltraDayView time slots occupied by Mult-Day events (as implemented within MS Outlook 2010) as a new feature idea.
Thanks
I spent some time researching this and came across the same obstacle. I think it would be easier, simplier and wiser to log it as a new product idea in our internal systems if you agree.