Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xamarin Persian Datepicker

I searched a lot about persian datepicker to use in Android app which is written in c# with Xamarin. but I couldn't find.

I also searched for a mean to change the date object which is used in default datepicker and there was no hope too.

do you know any shamsi (persian) datepicker for Xamarin or any way to extend default datepicker or changing calendar?

like image 828
Nima Ghaedsharafi Avatar asked Sep 26 '15 10:09

Nima Ghaedsharafi


1 Answers

I've been downloaded PersianMaterialDateTimePicker and converted to dll with Visual Studio. So you can download this dll and use it.

Example:

Com.Mohamadamin.Persianmaterialdatetimepicker.Date.DatePickerDialog d = new Com.Mohamadamin.Persianmaterialdatetimepicker.Date.DatePickerDialog();
d.Show(FragmentManager, "test");

You can download the dll from here:

https://forums.xamarin.com/discussion/48774/another-calendar-type-for-datepicker

like image 82
MohammadReza Moradi Avatar answered Nov 01 '22 06:11

MohammadReza Moradi