AD
Administrator
Syncfusion Team
December 28, 2005 08:42 PM UTC
Hi Denny,
The Essential Diagram Model class has an EventsEnabled property that you can set to temporarily disable diagram events from being propagated. Please see if disabling this property from within your NodeMoved event handler just before applying the new bounds and re-enabling it after setting it helps avoid the recursion.
Thanks,
Prakash Surendra
Syncfusion Inc.,
DH
Denny Huang
December 29, 2005 01:59 AM UTC
Hi Surendra,
Thank you! set EventsEnabled property works fine.
FYI: another way to get the same result: unhook the handler before applying the new bounds and hook it back after setting it.
Thanks,
Denny
>Hi Denny,
>
>The Essential Diagram Model class has an EventsEnabled property that you can set to temporarily disable diagram events from being propagated. Please see if disabling this property from within your NodeMoved event handler just before applying the new bounds and re-enabling it after setting it helps avoid the recursion.
>
>Thanks,
>Prakash Surendra
>Syncfusion Inc.,