Could you please elaborate a little bit more on what exactly are you trying to achieve ? There are a couple of ways to override the default copy, cut and paste commands but it depends on your specific scenario:
1) You could add your own command binding for those commands:
var copyBinding =
CommandBinding(DiagramCommands.Copy, OnCopyExecute, OnCanCopy);
sender, CanExecuteRoutedEventArgs e)
sender, ExecutedRoutedEventArgs e)
// Do what you want.
2) You could override the Ctr + C (Ctr + V and Ctr + X) input bindings with an ApplicationCommands.NotACommand
and this way they will be ignored and the key down events will be rised:
I hope I was able to help you and if you have more questions feel free to ask.
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.