Search results

Change the First Day of Week in Blazor Calendar component

22 Jul 2021 / 1 minute to read

The Calendar provides an option to change the first day of the week by using the FirstDayOfWeek property. Generally, the day of the week starts from 0 (Sunday) and ends with 6 (Saturday).

By default, the first day of the week is culture specific.

The following code shows the Calendar with Tuesday as the first day of the week.

Copied to clipboard
@using Syncfusion.Blazor.Calendars

<SfCalendar TValue="DateTime?" FirstDayOfWeek=2></SfCalendar>

The output will be as follows.