What is the best way to prevent the creation of a Link, depending on some property of node its being dragged from?
My Link is sub-classes and I've played around with overriding the OnPortChanged() method. I can detect when the illegal condition occurs, but I think its too late to do anything about it because the ToPortChanged sub-hint (1303) doesn't fire until after the link is dropped onto the ToPort and I've already called the base.OnPortChanged() method.
Should I override the ToPort's OnSelectionDropReject() method?
Thanks