Is it possible to derive from CommandHandler and add your own commands? The idea is I’ve got some buttons which I’d like to bind to commands. Those commands need some input (in the form of a command parameter) plus they need to know against which diagram they should execute. This seems like the right place, but I seem to remember a post somewhere about this not being possible. I assume that even if it is possible my bindings would look a little strange – I’d probably have to bind directly to the custom CommandHandler using ElementName syntax because the Diagram.CommandHandler path would return the CommandHandler base class which does not know about my commands.
I suppose you could, but I’m not sure what advantage you would get from doing so.
Also the support will differ between Silverlight 4 and WPF, since the former does not support routed events.