How do I set the maximum date of the date picker to the last day of the current month? It needs to automatically change to the last day of the next month as well when a month passes
@BBasson4 you can get days of current month by using DateTime.DaysInMonth(DateTime.Now.Year,DateTime.Now.Month)
Once you find that set that as maximum date.
Where ever you will load that page, it will get current month and year and find days of month, so every time Maximum date will get reset according to current month days.
Hope this may solve your issue.
Xamarin Inc., as a wholly-owned Microsoft subsidiary acting as a separate legal entity, adheres to the Microsoft Privacy Statement: Privacy & cookies