I need to deactivate the default WPF commands in a globally way, i'm talking about those that are registered as "class commands".
Here's the reason :
We are upgrading an old application to WPF, that application uses some key shortcuts that overlap with default wpf commands.
I know that that should be a problem as commands attached to an instance have more "priority" than those that are attached to the "type" or "class".
The problem is, we cannot attach the input binding (notacommand to disable the shortcut) to every instance.
It will be, either overkill (modify all the styles) or almost impossible (controls instantiated by third party controls).
So, is there a way to disable wpf "class attached" commands in a globally way ?
View Complete Post