Hi
I'm using XamScheduleDataManger in my SL5 application.
I have problem showing working hour. I set 00:00 to 23:59:59(as I didn't want to have "NOT Working hour" Highlithed) as Working hour and now the XamDayView default starting time is 00:00, and every time i need to scroll down to see my appointments.
So I've following questions:
1) How can i remove "NOT working Hour" Highlighting ? (without changing default working hours)
2) How can i set the Start time so when I show XamDayView or XamWeekView it doesn't start from 00:00 but from xx:xx
3) Where can i get the default CalendarBrushes List ? (as I tried setting BaseColor property to different colors in ResourceCalendar but it's not good looking as the default Calendar brushes)
Thank you
Thanks for your Sample project.
Another query, how can I get the list of default DayView brushes ?
Hello,
I have modified the sample from the referred forum thread, so now the same functionality is available in SL. Basically instead of Trigger, I bound the Border's Background to the TimeslotPresenter's IsWorkingHour Property and used Converter to return different Colors. Please let me know if this helps you or you need further assistance on this matter.
Looking forward for your reply.
Hi Stefan
The sample project you attached here https://ko.infragistics.com/community/forums/f/ultimate-ui-for-wpf/83936/set-the-style-for-working-hours is form WPF and it's not working in SL, the ControlTemplate.Trigger is not present in SL.
Also I'm using IG libraries 12.1 not 13.1.
So can you kindly post me that project compatible with SL5 ?
I found this articole about how to use the function in Infragistics.Window.Utilities in Silverlight : https://ko.infragistics.com/community/blogs/b/blagunas/posts/get-a-descendant-frameworkelement-based-on-its-name
So i positioned the ScrollBar using this function instead of Infragistics.Windows.Utilites.GetDescendantFromName function in SL5
Also in a recent service release we added a BringIntoView method on the ScheduleControlBase class so you can use that to bring a particular timeslot into view although the info in the post you're referencing would allow controlling which is the top timeslot whereas this new method just ensures that the specified date and time is within the current viewport.