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

Start view in a different month from current


For example I want to start the MonthView in January not the current month (May) I can do it?

3 Replies

SP Subburaj Pandian Veluchamy Syncfusion Team May 30, 2017 05:58 AM UTC

Hi Roberto, 
 
Thank you for your interest in Syncfusion products. 
 
Your requirement of starting the Schedule with the specific Month instead of current month in Xamarin (Android) can be achieved by using MoveToDate property of SfSchedule. By setting the required specific date to the MoveToDate, schedule will be moved to the specific date. Please check the below code example, 
 
[c#] 
            // setting MoveToDate to the Schedule
            Calendar moveToSpecificDate = Calendar.Instance;
            moveToSpecificDate.Set(2017Calendar.January, 01); 
            schedule.MoveToDate = moveToSpecificDate; 
 
  
You can also refer our online user guide documentation for the same by the following link, 
 
 
We have also prepared simple sample based on this scenario, please find the sample by the following link, 
 
  
Please let us know, if you need any further assistance on this.  
 
Regards,  
Subburaj Pandian V.    



RO roberto May 30, 2017 03:50 PM UTC

Thank you


SP Subburaj Pandian Veluchamy Syncfusion Team May 31, 2017 06:06 AM UTC

Hi Roberto, 
 
Thank you for the update, we are glad to know that you have met your requirement. 
 
Regards,   
Subburaj Pandian V.  


Loader.
Up arrow icon