Articles in this section

How to change the first day of week in the WinUI Calendar (SfCalendar)

The WinUI Calendar (SfCalendar) will be rendered with Sunday as the first day of the week. You can change the first day of week by using the FirstDayOfWeek property of the calendar as per your requirement.

XAML

<Window
    x:Class="FirstDayOfWeek.MainWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:FirstDayOfWeek"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d" xmlns:calendar="using:Syncfusion.UI.Xaml.Calendar">
 
    <Grid>
        <calendar:SfCalendar Name="Calendar" FirstDayOfWeek="Thursday"/>
    </Grid>
</Window>

View sample in GitHub.

WINUI Calendar first day of week

 

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Access denied
Access denied