It is on the forms, not on wpf. Suppose that by pressing a button the selected text is overlaid, for example: 
- 2If you want to apply to the entire word - just change the overline parameter in the font of the selected fragment. If you are interested in the details - specify which component of winforms you use. At richedit such an opportunity to change the font laid. - nick_n_a
- There only crossed out and underlined are - Anastasia
- Dig into the Unicode table, there should be such a symbol - Andrey NOP
1 answer
In WinForms with beautiful bad. Overwriting standard means is not possible in principle, because the font style in System.Drawing (GDI +) is responsible for the FontStyle enumeration, which knows nothing about overlining. RichTextBox also not an assistant here, because its content draws all the same System.Drawing (GDI +). This is easily seen on the example of the standard WordPad, which reveals all or almost all of the RichTextBox features in terms of text formatting, lacking only some of the features of rtf markup, which, however, are not particularly necessary due to the presence of more convenient and modern formats.
Alternative options:
For one letter, you can use the combined unicode characters , namely the overline symbol: code 0x0305 , for example: "a\x0305" - a̅; or so: "Y\x0305" - Y̅. For a long text this option is not suitable, because you will need to insert this character after each letter of the text. Plus, such composite characters are not always correctly displayed, superscripts and subscripts can “move down” to the side, for example:
You can place hosting on the form for WPF ElementHost controls and take advantage of all the design power of WPF.
In the most extreme case, it is always possible to simply draw both text and overline lines using System.Drawing (GDI +) tools on a regular Bitmap or directly on the control, but as you understand, there is no question of any text selection with the mouse and editing. Do not suffer from an acute attack of masochism and / or workaholism =) well, or interest is purely academic.
- in Unicode there are characters already containing accents : Extended Latin - A (0100—017F), Extended Latin - B (0180—024F) but this will not save from moving, kanesh - Alias
- @Alias ​​monolithic versions of accented characters I did not mention, there is a very limited list of characters. For formulas, it is probably better to use them, but in the case of “overlapping” of an arbitrary text, this problem does not solve. - rdorn