Wpf- Is there any way to disable some of the default hotkeys in a RichTextBox?

Posted by Justin on Stack Overflow See other posts from Stack Overflow or by Justin
Published on 2011-01-07T06:50:23Z Indexed on 2011/01/07 6:53 UTC
Read the original article Hit count: 324

Filed under:
|
|

I have several keybindings in my text editing application that no longer work now that I have switched from using a regular textbox to using a richtextbox.

This is because the wpf richtextbox has several default hokeys such as "Ctrl+1", "Ctrl+2", and "Ctrl+5".

My keybindings are defined in a view that contains the view that the richtextbox is in. I can't move the keybindings to the richtextbox;

Is there any fix for this problem? Other than using a third-party control or creating my own richtextbox from textboxbase.

© Stack Overflow or respective owner

Related posts about wpf

Related posts about richtextbox