I have a event handler attached to GoXamModel.Changed and in ModelChange.AddedLink I want to get the corresponding Link object. The parameter i.e ModelChangedEventArgs of the event would give me the LinkData and from this LinkData I want to extract the corresponding Link.
I tried the following but could not get it.
- PartManager but the fromNode and ToNode information are incorrect as it says TemporaryFromNode and TemporaryToNode similarly for Ports
- Tried to get it from Model.LinksSource but it returns LinkData not Link.
Could you suggest something about this ?