I am binding the EndTime property of the TimelinePanel to a view model property, but the TimelinePanel is not reacting to PropertyChanged events.
I have attached a simply project that demonstrates the problem: Turning the mouse scroll wheel changes the end time. This is reflected by the top right textbox but not by the timeline.
Note: It appears to work if I set the DataContext (the view model instance) before the call to InitialiseComponent. But that is not really an option and should not be necessary.
Comments: ** Comment from web user: LanceWynn **
I have attached a simply project that demonstrates the problem: Turning the mouse scroll wheel changes the end time. This is reflected by the top right textbox but not by the timeline.
Note: It appears to work if I set the DataContext (the view model instance) before the call to InitialiseComponent. But that is not really an option and should not be necessary.
Comments: ** Comment from web user: LanceWynn **
You need to set the binding Mode to TwoWay, and then it should work.