xamarin forms datePicker

abanoub adly 46 Reputation points
2021-10-31T03:33:33.403+00:00

I'm using Xamarin Forms for android and IOS. and I need to make the year section in the date picker dialogue Clickable.

145154-datepicker.png

because I cannot select the year it is only months selection. the problems with this is if I want to go 10 years behind I need to change the month page 120 times which make a very poor user experience.

Developer technologies | .NET | Xamarin
0 comments No comments
{count} votes

Answer accepted by question author
  1. JarvanZhang 23,971 Reputation points
    2021-11-01T05:47:04.323+00:00

    Hello,​

    Welcome to our Microsoft Q&A platform!

    because I cannot select the year it is only months selection

    The year part of DatePicker is clickable and support to select a number from the list. Click on the year number and the dialog will be shown. Please test the function on your side.

    Best Regards,

    Jarvan Zhang


    If the response is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.