我需要在后面的代码中更改颜色为文本字符串的一部分..
我的exaple:
textblock1.Text = string1 + string2 + string3;
字符串有动态值,我希望在以蓝色运行程序后显示string2,并且必须在后面的代码中定义.
这是可能的?谢谢!
c# string wpf colors code-behind
c# ×1
code-behind ×1
colors ×1
string ×1
wpf ×1