Make portion of a Label's Text to be styled bold

前端 未结 12 620
离开以前
离开以前 2020-11-30 12:12

Is there any way to make a part of a label.text to be bold?

label.text = \"asd\" + string;

Would like the string

12条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-11-30 12:59

    I've built a UserControl that holds a TransparentRichTextBox allowing you to format portions of text by using the RTF syntax.

    Nothing special and the syntax is quite easy to understand. Check it out here.

提交回复
热议问题