Hello,
I'm using Schedule with monthview and I want to limit the user to see only two months. To accomplish that, I'm using MinDisplayDate and MaxDisplayDate this way:
DateTime MaxDate = new DateTime(DateTime.Today.Year, DateTime.Today.Month, DateTime.DaysInMonth(DateTime.Today.Year, DateTime.Today.Month));
Scheduler.MinDisplayDate = new DateTime(MaxDate.Year, MaxDate.Month - 1, 1);
Scheduler.MaxDisplayDate = MaxDate;
The idea is to set the MinDisplayDate with the first day of last month, and the MaxDisplayDate set to the last day of the current month.
When I run the app, and try to swipe to the right, the Schedule "shake" and stay at the current month. And when I swipe to the left two times, the Schedule also "shake". Is there a way to avoid this ?
Thanks!