Hi SaiGanesh,
After implementing the MoveToDate property I have noticed a new issue with the schedule control sometimes failing to render the bound meetings.
Initially I thought this was due to async loading of data from my web service, but I observed the same behavior with objects created in code.
I was able to reproduce the issue in a sample solution(attached), and found that it appears to be when the mouse pointer moves over the control while the page is being navigated to and rendered.
Steps to reproduce:
- Run UWP application in the attached solution.
- Click the Open Scheduler button at the bottom of the main screen and quickly move the mouse toward the middle of the page
- The schedule control will intermittently fail to display any meetings.
- Click the Back button to return to the main page.
- Click the Open Scheduler button, but ensure the mouse pointer stays over the button.
- The schedule control displays the meetings as soon as the page loads.
When the scheduler fails to render the meetings it is also possible to display them by navigating to the next time period and back again using the built in controls.
Note that this occurs when the MoveToDate property is bound in SchedulePage.xaml. If you remove the binding the issue no longer occurs. I don't know if the same would be true when setting the property in the view's code behind as I have not tested this.
I've also included a couple of screenshots in the zip file showing both results.
Kind regards,
James
Attachment:
SchedulerIssues_efa1d423.zipx