MF
Meera Fathima
Syncfusion Team
May 25, 2007 01:53 PM UTC
Hello Daniel,
If your intension is not to rotate the nodes, you can do this by raising the Diagram.Model.EventSink.RotationChanging event and cancelling the operation. Below is the sample code snippet for your reference.
this.diagram1.Model.EventSink.RotationChanging += new RotationChangingEventHandler(EventSink_RotationChanging);
void EventSink_RotationChanging(RotationChangingEventArgs evtArgs)
{
evtArgs.Cancel = true;
}
Please let me know whether this is helpful to you.
Thanks,
Meera.
DP
Daniel Preisler Larsen
May 29, 2007 08:32 AM UTC
Hi there
It was very helpful. Thank you.
Regards Daniel
>
Hello Daniel,
If your intension is not to rotate the nodes, you can do this by raising the Diagram.Model.EventSink.RotationChanging event and cancelling the operation. Below is the sample code snippet for your reference.
this.diagram1.Model.EventSink.RotationChanging += new RotationChangingEventHandler(EventSink_RotationChanging);
void EventSink_RotationChanging(RotationChangingEventArgs evtArgs)
{
evtArgs.Cancel = true;
}
Please let me know whether this is helpful to you.
Thanks,
Meera.