How to Set the First Day of the Week
The purpose of this tutorial is to show you how to modify the default order of the days in the calendar view of your RadDateTimePicker control. There are two ways to do this, respectively:
Through the CultureInfo.DateTimeFormat property
Let's assume you've defined RadDateTimePicker as shown in Example 1.
Example 1: RadDateTimePicker definition
You can then set the FirstDayOfWeek property of the current culture's DateTimeFormat as demonstrated in Example 2.
Example 2: Setting FirstDayOfWeek
Through the CalendarStyle property
Another way to achieve the same result is to define a style targeting the RadCalendar control and add a setter for the FirstDayOfWeek property. Example 3 demonstrates such a style.
Example 3: Defining a custom RadCalendar style
If you're using implicit styles, you should base your style on the RadCalendarStyle.
You can then use this style implicitly or set it for a single RadDateTimePicker instance through the control's CalendarStyle property as shown in Example 4 and Example 5.
Example 4: Defining an implicit style
If you're using implicit styles, you should base your style on the RadDateTimePickerStyle.
Example 5: Setting an individual calendar's CalendarStyle property
Figure 1 shows the final result.