![](/img/trans.png)
[英]How to make some parts of a string to be bold and with different font style (size, font weight) within a WPF RichTextBox
我有以下 WPF RichTextBox,它在我的視圖 model 中綁定到一個 MVVM 屬性。屬性 SampleText 包含一個字符串,比方說,例如: Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusm ...