Applies to: Nevron Diagram for .NET
How to get notified when a shape is being moved, resized or rotated?
The best way to get notified for these events is to subscribe for the NodeBoundsChanged event of the event sink service:
[C#]
DrawingDocument.EventSinkService.NodeBoundsChanges;
[VB.NET]
DrawingDocument.EventSinkService.NodeBoundsChanges
This event is fired when the bounds of any model has changed.
In order to subscribe for the BoundsChanged event for a particular shape you can use:
[C#]
[VB.NET]
The shape must be added to the document in order to subscribe for this event.
Article ID: 38, Created On: 10/5/2010, Modified: 11/15/2010