Hello
on a ultraDayView control
I need to set the hour cells with different appearance and that before the user selects the working hours
And if possible to set a legend it would be great.
thanks.
I'm not sure if I understood your request but the following KB article demonstrates how to use the IUIElementDrawFilter interface to customize the appearance of the TimeSlots:
http://devcenter.infragistics.com/Support/KnowledgeBaseArticle.aspx?ArticleID=5595
Dear Brain.
I am sorry for the inconvenience, will try to explain myself better:
on a ultraDayView control:
the control at the end of the day should contain 3 type of working hours that the user could select from,
example: on this 24H –
type1 will represent the working hours of country A
type2 will represent the working hours of country B
type3 will represent the working hours of country C
-type4 will represent the non working hours of this current countries.
My need is to define a 3 different appearances for the working hours – its could be something like setting a deferent color to the time cells / or deferent patron to the cells.
Thanks
Yaniv.l
Many years later, its one of these
With culture.DateTimeFormat .FullDateTimePattern = "H:mm tt" .LongTimePattern ="H:mm tt" .ShortTimePattern = "H:mm tt" End With Thread.CurrentThread.CurrentCulture = culture
Hi Yaniv.I,
I didnot get you , but i need to change the display time format from 12 hout to 24 hour format for a dultradayview control.Could you please the property for changing the time format.
Thanks in advance
The KB article I referenced in my previous post illustrates how to customize drawing of each individual TimeSlotUIElement, using the Owner and the date as the criteria. This article should be helpful for your purposes as well.