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
|
I read through this thread: http://www.mindscapehq.com/forums/thread/2367 which talks about binding MouseDoubleClick to nodes in the old version, and to the DiagramSurface in the new version (2.0 ?). I tried binding to MouseDoubleClick in a custom node style as suggested in the blog post, but the overall View that holds the DiagramSurface needs the event, not the custom node. Is there a way to bind to MouseDoubleClick on individual nodes in the latest version? |
|
|
Hello Damien I recommend following the approach I described in the 4th to last post in that thread. i.e. attach a double click handler to the surface:
And then use one of the 2 techniques to acquire the DiagramNodeElement. Let me know if you have further questions about this. Jason Fauchelle |
|
|
That's what I ended up doing. Works fine, I was just being a puritan trying to get it directly from the DiagramNode. |
|