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
|
Hello, Is there an easy way to handle the mouse click event or mouse up event for a node. Thanks |
|
|
Hello Jzhou You can do this by adding a handler to the DiagramSurface. Here is an example:
And the event handler:
Note that you should pass true in the last parameter of the AddHandler method so that you can catch handled events too. In the event handler, you can get the source of the event from the args.OriginalSource property. When clicking on a node, this will be a MoveThumb. From the MoveThumb you can get the DiagramNodeElement from the Element property. Jason Fauchelle |
|