I may have found a bug in GraphLinksModel- it does not fire property changed events.
Tested on 126.96.36.199
This is the unit test I am using (i actually was testing our subclass with this test, but same issue)
var propertiesChanged = new List();
_diagram.PropertyChanged += (sender, e) => propertiesChanged.Add(e.PropertyName);
_diagram.DataFormat = "MM"; Assert.IsTrue(propertiesChanged.Contains("DataFormat")); <- FAILS HERE Assert.AreEqual("MM", _diagram.DataFormat); propertiesChanged.Clear();
It looks like RaisePropertyChanged actually raises the “Changed” event, rather than the PropertyChanged event. Switching to this line:
_diagram.Changed += (sender, e) => propertiesChanged.Add(e.PropertyName);
causes the test to pass.