The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
I have disabled the rotation and resizing facilities on the Node objects in my diagram by setting the HandleEditMode of each node to None. This has exactly the effect I need. So far so good.
The problem is that if I hold down the left mouse button and select multiple nodes, I am able to resize and rotate them. How do I disable that, while preserving the possibility to mulitiselect nodes and move them about as a group?
MFMeera 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);
Please let me know whether this is helpful to you.
Thanks, Meera.
DPDaniel Preisler LarsenMay 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);