Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
125
Data binding ScrollPosition and ScrollScale ends with an exception
posted

We have a project where we are using the xamTimeLine and need to controll the ScrollPosition and the ScrollScale from a presentation model via data binding. The objects in the timeline are also data bound from the presentationmodel. The objects data binding and the selected time data binding works just fine. But as we try to set the ScrollPosition and the ScrollScale we get random NullReferenceException when trying to set the properties that the ScrollPosition and the ScrollScale are bound to. We are using a DateTimeAxis to show the objects.

As the user selects a parent object in a list beside the time line, all the parents child objects are populated into the timeline, and then we need to jump to the correct date and also position and scale the scroll so that the user does'nt need to manually select the part in the timeline where the objects are.

We desperately need help as we see no way of continuing with out this to work as we then need to find a new timeline control and stop using yours.   

Kind regards

Hannes Larsson

Parents Reply Children