views:

157

answers:

0

HI, I am developing an editor using RichTextBox in WPF, i have to implement feature that user can set font of selected Text if some text is selected, if nothing is selected then font should be set for new text. If i set the font properties(like FontStyle,FontSize) of RTB in later case it will set the properties for whole text, How can i set font properties for new text(i.e if user enter the text it will come with new font setting).