I'm Just Trying To Use a Persian Date Picker In UWP Application and Trying to Use CalendarIdentifier Attribute But It doesn't have Persian Calendar Property.
Thanks If you Help me
Trying to Use CalendarIdentifier Attribute But It doesn't have Persian Calendar Property.
CalendarIdentifiers
class do have a Persian
property. You can just use it for the DatePicker
in XAML by the following code:
<DatePicker x:Name="btnDatePicker" CalendarIdentifier="PersianCalendar" ></DatePicker>
Or set it code behind:
btnDatePicker.CalendarIdentifier = CalendarIdentifiers.Persian;
It just only has no intelligence prompt inside xaml.