Hi
Is there any way to show a red line telling the user where in the timeline todays date (and time) is so that they can navigate the timeline more easy?
//hannes
Hello Hannes,
I've attached a sample demonstrating a way you can implement this. I modified the default template for the timeline scene slightly to include a Canvas where the red line would reside. This made placing it properly in code easier.
I then handled the SizeChanged and ZoomChanged events so that I can recalculate the line position. This way the line remains in the correct spot while resizing the control or changing the zoom.
Let me know if you have any questions.
Thanks!
That work perfect!
As our controls are loaded dynamically I hade to add a check so that there are'nt more then one marker added.
best regards
hannes
I'm glad this is what you were looking for. Let me know if you have any further questions regarding this topic.