Hi,
I am using the day view, month view wpf controls and when week is selected it shows 5 days, each day is a shift(i.e. has a specific start and end time). The days may not always run in sequence so it could be Monday, Tuesday etc or Friday, Saturday etc (this I do with the visible dates option). What I can't work out is how to make each day show its own time range.
e.g. Monday 09:00 - 17:00, Tuesday 09 - 14:00, Wednesday 18:00 - 02:00
Also the day view only runs from 00:00 to 23:00, you cannot create working hours that start at say 18:00 and end at say 04:00(a night shift).
Is this possible with the daysettings function.
thanks in advance
Hello Anne,
I have been looking into your question and you can set the working hours only for specific day. If you would like to specify working hours for every day, you could declare them like e.g. :
<ig:XamScheduleDataManager.Settings>
<ig:ScheduleSettings>
<ig:ScheduleSettings.DaysOfWeek>
<ig:ScheduleDaysOfWeek>
<ig:ScheduleDaysOfWeek.Monday>
<ig:ScheduleDayOfWeek>
<ig:ScheduleDayOfWeek.DaySettings>
<ig:DaySettings IsWorkday="True">
<ig:DaySettings.WorkingHours>
<ig:WorkingHoursCollection>
<ig:TimeRange Start="11:00:00" End="13:00:00" />
<ig:TimeRange Start="15:00:00" End="17:00:00" />
</ig:WorkingHoursCollection>
</ig:DaySettings.WorkingHours>
</ig:DaySettings>
</ig:ScheduleDayOfWeek.DaySettings>
</ig:ScheduleDayOfWeek>
</ig:ScheduleDaysOfWeek.Monday>
<ig:ScheduleDaysOfWeek.Wednesday>
<ig:TimeRange Start="07:00:00" End="10:00:00" />
<ig:TimeRange Start="12:00:00" End="14:00:00" />
</ig:ScheduleDaysOfWeek.Wednesday>
</ig:ScheduleDaysOfWeek>
</ig:ScheduleSettings.DaysOfWeek>
</ig:ScheduleSettings>
</ig:XamScheduleDataManager.Settings>
Let me know, if you need any further assistance on this matter.
Unfortunately this does not answer my question. As in your example you are making the assumption that for example the Monday shift will always be 11:00 - 13:00 etc. For my request the shift on a Monday can be any time range it will not always be the same, this will only work if I can dynamically create daysofweek and bind it, is this possible?. It also does not allow me to enter a shift that starts at say 18:00 and ends at 02:00( a night shift for example).
Currently the working hours are only considered for days that are marked as working days.
After some research the functionality that you are looking for has been determined to be a new product idea. I have sent your product idea directly to our product management team. Our product team chooses new product 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 ideas, 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 PI13060130.
If you would like to follow up on your product idea 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.