Hi Thejesh,
Thank you for contacting Syncfusion support.
We checked your requirement “WorkWeek - First day of week working based on locale”. You can achieve your requirement by adding Non-Working days of a week by using NonWorkingsDays property of WorkWeekViewSettings in SfSchedule.We’ve prepared the sample for the same. Please find the link below for the sample,
Code Snippet:
|
this.schedule.Locale = "ar";
var nonWorkingDays = new ObservableCollection<DayOfWeek>();
nonWorkingDays.Add(DayOfWeek.Friday);
nonWorkingDays.Add(DayOfWeek.Saturday);
var workWeekViewSettings = new WorkWeekViewSettings();
workWeekViewSettings.NonWorkingsDays = nonWorkingDays;
schedule.WorkWeekViewSettings = workWeekViewSettings; |
Please refer below UG links to know more details about changing NonWorking days in Schedule,
We hope that this helps you, kindly revert us if you have any concern.
Regards,
Muniappan S.