Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1130
Is there a way I can set different Working hours for different Day?
posted

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...

Parents
  • 2180
    Offline posted

     

    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

     

Reply Children
No Data