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
Hello,
Thank you for your post. I have been looking into it and for the start time I can suggest you see this forum thread:
https://ko.infragistics.com/community/forums/f/ultimate-ui-for-wpf/49730/specify-initial-visible-hour-timeslot-in-xamdayview
where it is explained how to scroll to a particular hour. As for the styling of the TimeSlotPresenter, I can suggest you see these two forum threads:
https://ko.infragistics.com/community/forums/f/ultimate-ui-for-wpf/64477/changing-the-computedbackground-timeslot-colors/326306#326306
and
https://ko.infragistics.com/community/forums/f/ultimate-ui-for-wpf/83936/set-the-style-for-working-hours
https://ko.infragistics.com/community/forums/f/ultimate-ui-for-wpf/52620/customizing-the-time-slot-panel-in-xamschedule-day-view
which will help you to restyle it. In the third one it is mentioned where you can find the default Styles and brushes of the XamSchedule. Please let me know if this helps you or you need further assistance on this matter.
Looking forward for your reply.
Hello
I followed as described here https://ko.infragistics.com/community/forums/f/ultimate-ui-for-wpf/49730/specify-initial-visible-hour-timeslot-in-xamdayview , but as i'm working on Silverlight 5 project I don't have reference to Infragistics.Windows.Utilities. Where can I find this namespace in SL ?
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.
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