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. Image for the cookie policy date

ViewMonth


Goodnight, I can make it appear only a month range. For example I just want the months of January to February to appear I can help with that Thank you

1 Reply

SP Subburaj Pandian Veluchamy Syncfusion Team May 18, 2017 11:48 AM UTC

 
Hi Roberto, 
 
Thank you for contacting Syncfusion support. 
 
Based on the provided information we suspect that your requirement is to set certain range of months to display in the Schedule in Android, which can be achievable using MinDate and MaxDate property of Schedule. By setting required Start day as MinDate and End day as MaxDate in the Schedule, you can achieve your requirement. Please refer the below code example, 
 
[c#] 
            Calendar currentDate = Calendar.Instance;
            Calendar minDate = (Calendar)currentDate.Clone();
            minDate.Set(2017201); // March 01, 2017
            Calendar maxDate = (Calendar)currentDate.Clone();
            maxDate.Set(2017631); //July 31, 2107

            schedule.MinDisplayDate = minDate;
            schedule.MaxDisplayDate = maxDate; 
 
  
You can also refer our online user guide documentation regarding the same, by the below link. 
 
 
Please let us know, if you have any query on this.  
 
Regards,  
Subburaj Pandian V.    


Loader.
Live Chat Icon For mobile
Up arrow icon