I’ve overridden the key-handling events and am inserting tabs when a user presses the tab key for a RichTextBox.
When I save the XAML from that RichTextBox and reload it, all of the tabs are now spaces.
Does anyone know what I can do to get the RichTextBox to display tabs?
I got around this issue by putting a placeholder in temporarily.
I used the placeholder to temporarily replace all of the tab characters and then once they were in the RichTextBox I replaced all of the placeholders with tabs.