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.
Unfortunately, activation email could not send to your email. Please try again.

Start view in a different month from current

Thread ID:

Created:

Updated:

Platform:

Replies:

130728 May 29,2017 01:23 PM May 31,2017 02:06 AM Xamarin.Android 3
loading
Tags: SfSchedule
roberto
Asked On May 29, 2017 01:23 PM


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

Subburaj Pandian Veluchamy [Syncfusion]
Replied On May 30, 2017 01:58 AM

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.    


roberto
Replied On May 30, 2017 11:50 AM

Thank you

Subburaj Pandian Veluchamy [Syncfusion]
Replied On May 31, 2017 02:06 AM

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


CONFIRMATION

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.

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.

;