Articles in this section

How to localize the WinUI Calendar Date Range Picker (SfCalendarDateRangePicker)?

You can localize the WinUI CalendarDateRangePicker (SfCalendarDateRangePicker) based on the culture by using the Language property of the calendar. By default, calendar control is displayed in the en-US language.

 

XAML

<Window
    x:Class=" Localization.MainWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:Localization"
    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" 
    xmlns:editors="using:Syncfusion.UI.Xaml.Editors">
  
    <calendar:SfCalendarDateRangePicker 
                               x:Name="sfCalendarDateRangePicker"
                               Language="ar-AR"/>
 
</Window>

 

Calendar DateRangePicker localization

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