.NET MAUI Scheduler Globalization
Globalization refers to developing an application in such a way that it works on the target device culture. This includes changes in the Calendar day names and first day of week.
The Telerik UI for .NET MAUI Scheduler control supports globalization through the Culture
property (of type System.Globalization.CultureInfo
).
The following example demonstrates how to set the desired culture in the Scheduler.
Here is the RadScheduler
definition:
<telerik:RadScheduler x:Name="scheduler">
<telerik:RadScheduler.ViewDefinitions>
<telerik:WeekViewDefinition FirstDayOfWeek="Monday" />
<telerik:WeekViewDefinition Title="Work Week"
IsWeekendVisible="False"
FirstDayOfWeek="Sunday" />
<telerik:MonthViewDefinition />
<telerik:MultidayViewDefinition VisibleDays="3"
Title="3 Day" />
</telerik:RadScheduler.ViewDefinitions>
</telerik:RadScheduler>
Set the Culture
property to the RadScheduler
instance:
this.scheduler.Culture = new System.Globalization.CultureInfo("de-DE");
Here is the result: