Hi,
I'm still fairly new to silverlight, so hopefully this is an elementary question: I have a polyline whose 'Points' (type: PointsCollection) property is bound to a PointsCollection public member, Pts, in my view model class. When I add/remove points from ViewModel.Pts, the polyline redraws correctly without any problem. However, if I change Pts to be a reference to another, totally different PointsCollection object in my view model class, then the polyline doesn't automatically redraw. The Polyline.Points binding still refers to ViewModel.Pts, but now ViewModel.Pts refers to ViewModel.OtherPts. When I reassign ViewModel.Pts to ViewModel.OtherPts, I want the polyline to automatically redraw with the data in ViewModel.OtherPts.
Is there some event or some nuance in the dependency property system that I'm missing?
Thanks!!!
btw- I'm not using any ObservableProperty or ObservableCollections here since I thought this would all work within the dependency property + databinding system.