In all of the sample, it looks like Working Hours are same for each Working Days.
Is there a way to have differenr Working hours for different day?
eg, for Mon, 9AM-5PM, Tues 8AM-4PM, etc...
Hi,
You can change this in the XamScheduleDataManager’s Settings. Here is the XAML code snippet:
<ig:XamScheduleDataManager.Settings>
<ig:ScheduleSettings>
<ig:ScheduleSettings.DaysOfWeek>
<ig:ScheduleDaysOfWeek>
<ig:ScheduleDaysOfWeek.Monday>
<ig:ScheduleDayOfWeek>
<ig:ScheduleDayOfWeek.DaySettings>
<ig:DaySettings>
<ig:DaySettings.WorkingHours>
<ig:WorkingHoursCollection>
<ig:TimeRange Start="8:0:0" End="16:0:0" ></ig:TimeRange>
</ig:WorkingHoursCollection>
</ig:DaySettings.WorkingHours>
</ig:DaySettings>
</ig:ScheduleDayOfWeek.DaySettings>
</ig:ScheduleDayOfWeek>
</ig:ScheduleDaysOfWeek.Monday>
</ig:ScheduleDaysOfWeek>
</ig:ScheduleSettings.DaysOfWeek>
</ig:ScheduleSettings>
</ig:XamScheduleDataManager.Settings>
Hope this helps!
Thanks,
Diyan Dimitrov
It works fine. But need to set IsWorkday to true on the DaySetting for the WorkHours to show.
I couldn't fine any documentation or samples on this feature.
Best Regards,
Steven