Hi. The next code works perfectly (it changes the font size for -only- the selected text):
MyRichTextBox.Selection.ApplyPropertyValue(RichTextBox.FontSizeProperty, 18);
But the next code changes the font for the entire document, not only the selected text:
var SelectedFont = new FontFamily("Tahoma");
MyRichTextBox.Selection.ApplyPropertyValue(RichTextBox.FontFamilyProperty, SelectedFont);
Has anybody changed successfully only a selected text? if so... how?