I'm trying to remove the built-in binding of the ESC key to the DiagramCommands.CancelEdit command. I've tried both approaches outlined here:
with no success. The first approach successfully registers a new command, but the existing default command is still executed. I need to remove that default behavior.
Both the InputBindings and CommandBindings collections are empty after the diagram has been loaded, so I'm assuming that these default command handlers are stored elsewhere?
Am I approaching this the right way, or is there an easier way to handle this requirement?