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

How to use the MoveToTime method in SfSchedule?

Platform: Silverlight |
Control: SfSchedule |
Published Date: November 18, 2014 |
Last Revised Date: November 18, 2014
Tags: sfschedule

MoveToTime method of SfSchedule is used to scroll to specific timeslots by passing the TimeSpan value. This section explains in detail about the MoveToTime method in SfSchedule control. It is applicable for Day, Week, Work-week and Timeline view.

MoveToTime method in SfSchedule

Create a Silverlight application and add SfSchedule control to it.

XAML

To move to a particular timeslot in the Schedule control, the required TimeSpan value needs to be passed in the MoveTime method.

XAML

Note: Since this method handles the position of scroll viewer, it has to be called once the Schedule view is loaded.

The following sample illustrates how you can move to a specific time through the MoveToTime method with a button click event.

Sample Link:

MoveToTime_SilverLight.zip

The following are screenshots for this feature in different views.

Figure 1: MoveToTime method used in Day View

 

Figure 2: MoveToTime method used in Week view

 

Figure 3: MoveToTime method used in Work Week view

 

Figure 4: MoveToTime method used in Timeline view

 

 

 

 

 

 

ADD COMMENT
You must log in to leave a comment

Please sign in to access our KB

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