Am implementing a Copy/Paste in a GraphLinksModel. I need to do some processing on the newly pasted elements. And for that I need info on the elements they were copied from.
I hooked a command handler on the diagram’s SelectionCopied event but it doesn’t hit during the copy and paste. I expected it to hit when pressing CTRL+C but that’s not the case.
I tried the same scenario on the “Dynamic Ports” sample and it’s the same result, my handler is never hit.
So when is that event raised?
There is a SelectionChanged event, but I find relying on that one very heavy and aggressive.