Formatting text in a TextBlock

前端 未结 6 2135
青春惊慌失措
青春惊慌失措 2020-11-27 11:58

How do I achieve formatting of a text inside a TextBlock control in my WPF application?

e.g.: I would like to have certain words in bold, others in ital

6条回答
  •  情话喂你
    2020-11-27 12:09

    This is my solution....

         
            
            
            
            
            
        
    

    I am learning... so if anyone has thaughts on the above solution please share! :)

提交回复
热议问题