How to change the first day of the week in .NET MAUI Scheduler (SfScheduler)?
The .NET MAUI Scheduler displays Sunday as the first day of the week for the Scheduler Views. However, you can change this setting to another day using the FirstDayOfWeek property.
XAML
To modify the first day of the week, set the FirstDayOfWeek property within the SfScheduler in your XAML.
<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="ProgrammaticDateNavigation.MainPage"
BackgroundColor="{DynamicResource SecondaryColor}"
xmlns:scheduler="clr-namespace:Syncfusion.Maui.Scheduler;assembly=Syncfusion.Maui.Scheduler">
<Grid>
<scheduler:SfScheduler x:Name="scheduler" View="Month" FirstDayOfWeek="Friday"/>
</Grid>
</ContentPage>
Output
|
Conclusion
I hope you enjoyed learning how change the first day of the week in .NET MAUI Scheduler .
You can refer to our .NET MAUI Scheduler feature tour page to know about its other groundbreaking feature representations and documentation, and how to quickly get started for configuration specifications. Explore our .NET MAUI Scheduler example to understand how to create and manipulate data.
For current customers, you can check out our components from the License and Downloads page. If you are new to Syncfusion®, you can try our 30-day free trial to check out our other controls.
If you have any queries or require clarifications, please let us know in the comments section below. You can also contact us through our support forums, Direct-Trac, or feedback portal. We are always happy to assist you!
