Hi Daniel,
We have checked with the provided information.
# Query1:
SfSchedule provides complete localization support by specifying Locale property. It is default behavior of SfSchedule. As you mentioned, it would be better to use current culture of the system using CultureInfo.CurrentUICulture than a Locale property with a default value. But, if we remove the Locale property or change its default value to CurrentUICulture, it will break the existing behavior of the control. So, we can’t remove the Locale property or change its default value. You need to set Locale property value as CurrentUICulture.
# Query2:
In WeekView time label format can be customized by using TimeFormat property. Similarly, you can customize the time label format of DayView and WorkWeekView. Kindly find the code snippet below,
Code Snippet:
|
schedule.ScheduleView = ScheduleView.WeekView;
WeekViewSettings weekViewSettings = new WeekViewSettings();
WeekLabelSettings weekLabelSettings = new WeekLabelSettings();
weekLabelSettings.TimeFormat = "HH:mm";
weekViewSettings.WeekLabelSettings = weekLabelSettings;
schedule.WeekViewSettings = weekViewSettings; |
You can also refer our online User Guide Documentation by using the below link,
Please let us know if you need further assistance on this.
Regards,
Ganeshamoorthy C