Articles in this section

How to change the calendar type in the WinUI CalendarDatePicker

In the WinUI CalendarDatePicker, change the calendar type by using the CalendarIdentifier property of the date picker.

Note:

The Calendar Date Picker Flow direction is based on the CalendarIdentifier property value. When both the CalendarIdentifier and FlowDirection properties are set, the FlowDirection property is given higher precedence.

 

XAML

<Window
    x:Class="CellCustomization.MainWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:CellCustomization"
    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:SfCalendarDatePicker x:Name="sfCalendarDatePicker"
                               CalendarIdentifier="HebrewCalendar"/>
 
</Window>

 

WinUI Calendar identifier

 

 

 

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