How To Prevent the Nodes From Being Rotated
14 Mar 2016 / 1 minute to read
This can be done by raising the Diagram.Model.EventSink.RotationChanging event and canceling the operation.
this.diagram1.Model.EventSink.RotationChanging += new RotationChangingEventHandler(EventSink_RotationChanging);
void EventSink_RotationChanging(RotationChangingEventArgs evtArgs)
{
evtArgs.Cancel = true;
}
Me.diagram1.Model.EventSink.RotationChanging += New RotationChangingEventHandler(EventSink_RotationChanging)
Private Sub EventSink_RotationChanging(ByVal evtArgs As Syncfusion.Windows.Forms.Diagram.RotationChangingEventArgs)
evtArgs.Cancel = True
End Sub
Was this page helpful?
Yes
No
Thank you for your feedback!
Thank you for your feedback and comments. We will rectify this as soon as possible!
An unknown error has occurred. Please try again.
Help us improve this page