How to change the calendar type in .NET MAUI Scheduler (SfScheduler)?
In the .NET MAUI Scheduler, you can change the calendar type using the CalendarType property.
Note:
The FlowDirection will be updated based on the CalendarType. If you want to override this behavior, set the FlowDirection after specifying a calendar other than the Gregorian. All DateTime values, such as Appointment Start and End times, SpecialTimeRegion Start and End times, SelectableDayPredicate, SelectedDate, and DisplayDate, can be provided in two ways.
<?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="NumberOfVisibleDays.MainPage" xmlns:scheduler="clr-namespace:Syncfusion.Maui.Scheduler;assembly=Syncfusion.Maui.Scheduler"> <scheduler:SfScheduler x:Name="scheduler" View="Month" CalendarType="Hijri"> </scheduler:SfScheduler> </ContentPage>
|
Conclusion
I hope you enjoyed learning how to change the calendar type 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!
