We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Schedule - MinDisplayDate & MaxDisplayDate strange behavior

Thread ID:





124128 May 18,2016 06:56 PM UTC May 19,2016 01:31 PM UTC Xamarin.Forms 1
Tags: SfSchedule
Asked On May 18, 2016 06:56 PM UTC


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 ?


Subburaj Pandian Veluchamy [Syncfusion]
Replied On May 19, 2016 01:31 PM UTC

Hi Guilherme, 
Thank you for your interest in Syncfusion products.  
We have analyzed your requirement from the provided code snippet, and we are able to reproduce the mentioned issue with “Restricting ScheduleView when reaching Minimum and Maximum display date” in SfSchedule Xamarin Forms.  
We have logged an issue report on this and the issue fix for the mentioned issue will be included in our upcoming volume 2, 2016 release which is expected to be available by mid of June, 2016. We appreciate your patience until then. 
Please let us know if you have any queries. 
Subburaj Pandian V 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon