Allow Tab Navigation While AllowTab is set to False in RichTextBox for WPF Edition
Setting C1RichTextBox’s AcceptsTab property to false, ’Tab’ key starts functioning as Navigation key. This prevents from entering Tab character into text.
Steps to Complete:
To perform both functions using the Tab key, create a key combination (Shift + Tab key) to allow the “Tab” key to perform navigation. When creating key combination, use the KeyDown event. While handling this event, the caret location needs to be detected and the word at that location needs to be found. Having access to the word, modify its content by manually adding a Tab character.