Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic LinkCreated not called (Read 1259 times)
marie
Full Member
***
Offline



Posts: 147
Joined: Nov 11th, 2008
LinkCreated not called
Jan 8th, 2009 at 9:39pm
Print Post  
Hi,

Is it normal that LinkCreated doesn't get call when I create links programatically? For example, it is not called when I use:
Code
Select All
DiagramLink link = this.diagram.Factory.CreateDiagramLink(leftNode, leftRow, rightNode, rightRow); 



Note: I of course binded this.diagram to the event using
Code
Select All
this.diagram.LinkCreated += new LinkEventHandler(diagram_LinkCreated); 



Thanks,
Marie
« Last Edit: Jan 9th, 2009 at 3:45pm by marie »  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: LinkCreated not called
Reply #1 - Jan 9th, 2009 at 10:00am
Print Post  
Yes, by design it's called only after the user draws a new link interactively.

Stoyan
  
Back to top
 
IP Logged
 
marie
Full Member
***
Offline



Posts: 147
Joined: Nov 11th, 2008
Re: LinkCreated not called
Reply #2 - Jan 9th, 2009 at 2:13pm
Print Post  
Thanks! I'll call it manually Smiley
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint