Is there a way to override the MouseDown for the ConnectionTool so it doesn't add the action to the UndoRedoService? I would like to connection created by the ConnectionTool removed or not in the UndoStack.
3 Answers, 1 is accepted
answered on 20 Aug 2014, 07:57 AM
You can consider subscribing for Diagram.CommandExecuted event and remove the "Add Connection" Command from the UndoStack. Please let us know if this fits well in your scenario. Below you can find a sample code:
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.