This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
Im needing someway to get hold of diagram events. Im looking for things like node addded, node deleted, connection added etc. events. Im sure they are available somewhere but i cant seem to find them. Any help would be appreciated. |
|
|
Hello Richard You can listen to these things by attaching event handlers to the Nodes and Connections collections of an IDiagramModel. If you are using a diagram type that extends the DiagramModelBase class (such as the Diagram class) then you can cast these collection properties into ObservableCollections of IDiagramNode or IDiagramConnection. Here you can attach collection changed event handlers to listen for whenever nodes or connections are added/removed. Let us know how it goes. |
|