Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic NodeDeleting not fired for ControlNode type (Read 1349 times)
Bass
YaBB Newbies
*
Offline



Posts: 31
Joined: Aug 27th, 2010
NodeDeleting not fired for ControlNode type
Jun 21st, 2011 at 9:51am
Print Post  
Hi Stoyan,

I have an event handler defined for the Diagram.NodeDeleting event which works fine for all shape nodes I am deleting from the diagram.

However, when I remove a control node the event is not fired. As a workaround I am using Diagram.ItemRemoved with some additional type checking to get around this, but is there a better way?

Regards,
Bas
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: NodeDeleting not fired for ControlNode type
Reply #1 - Jun 21st, 2011 at 10:44am
Print Post  
Hello Bas,

The event is raised as expected in my test. What does your handler look like?

Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint