It is possible to accomplish the desired effect from the second picture if you change the paragraph's background color property or if you create a custom UI Layer. A UI Layer gives you the ability to customize the presentation of different parts of the document. More information about this you can find in this article
, as well as in this example
If you follow the MVVM design pattern, you can try using RadDocumentEditor. Also you need to use the RadRichTextBox’s Data Providers which wrap the FormatProviders' functionality and allow its usage in XAML without any code-behind. You can find more information in the following articles: RadDocumentEditor
and Data Providers
. Please, take a look at this demo
project for a reference!
Let me know, if I can provide any further assistance.
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>