The RadDiagram lets you turn off Cut, Copy, Paste, etc functionality, but there doesn't seem to be a way to turn off the Duplicate command.
How would I remove the Ctrl+D key binding from the RadDiagram?
Thanks
2 Answers, 1 is accepted
0
Pavel R. Pavlov
Telerik team
answered on 26 Nov 2013, 02:50 PM
Hi Terry,
In order to achieve your requirement you actually can predefine the duplicate command that has been executed on Ctrl+D combination. You can do this with the following snippet:
By doing so you will need to implement custom duplication logic inside the ExecuteDuplicate() method. Please note that this method will be invoked when the e.CanExecute is set to True, otherwise the default duplication logic will be triggered.
Please give this approach a try and let us know if you need any further assistance.
Regards,
Pavel R. Pavlov
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely. Sign up for Free application insights >>