In the Syncfusion WPF WinRT Schedule Control(Windows apps store), I should handle the swipe event horizantally, because initially I should load the current week appoinment data only.
After that when I swipe on the scheduler horizontally, It will load the next or previous week or else corresponding week data.
I am testing this in Tablet. How I handle the swipe event. Please help me on this.
When I swipe Horizontally I should load the corresponding week data. Need not to load entire data at initial binding. I should bind after swipe horizontally.
Selvakumar| Software Developer
Thanks for your interest in Syncfusion products.
Currently we don’t have any support to handle the swipe event (VisibleDate change) in SfSchedule control. We have logged a feature request regarding this in our database. This feature can be implemented in any of our upcoming releases. We will update you once the implementation has done.
Even though, we are able to achieve your requirement by bind the VisibleDates property of the SfSchedule with the local property. So that your requirement can be achieved by listening set() of that local property. We have prepared a simple sample for the same, please find the sample in the attachment.
Thank you for using Syncfusion products.
Based on the implementation of schedule, VisibleDates property is a read only, so we can`t modify its value. Your requirement can be achieved by using “CultureInfo” class to set the start day of the week instead of using VisibleDates property. Please refer the below code snippet.
CultureInfo.CurrentCulture.DateTimeFormat.FirstDayOfWeek = DayOfWeek.Thursday;
Based on your requirement we have prepared a sample. Please refer the sample in the attachment. If the sample doesn`t meet your requirement could you please provide us more information along with screen shot (if possible). It will be very helpful for us to analyse on it and provide you the possible solution.
Note: Above modification will be changed in our upcoming volume release. We will update you once this feature has been rolled out.
Please let us know, if you have any concerns.
We are glad to announce that our Essential Studio Vol 2 2014 is rolled out and is available for download under the following link:
You can change the days order by using the schedule property “FirstDayOfWeek”. Please refer the code snippet below.
<syncfusion:SfSchedule ScheduleType="Month" FirstDayOfWeek="Monday"/>
We thank you for your support and appreciate your patience in waiting for this release. Please get in touch with us if you would require any further assistance.