如何使得TextBlock的字符高亮? 例如我现在: TextBlock tb= new TextBlock(); tb.text="A bird is singing to anthor bird in the tree."那么,我要高亮TextBlock里的"bird",代码该如何写?
如何使得TextBlock的字符高亮? 例如我现在: TextBlock tb= new TextBlock(); tb.text="A bird is singing to anthor bird in the tree."那么,我要高亮TextBlock里所有的"bird"和"tree",代码该如何写?
你理解错了我的意思了,我的意思是:如果Header内容为:“I'm from china”.那么,我只想“china”这个词语高亮,而“I'm from”不高亮
如何使得TextBlock的字符高亮?
例如我现在:
TextBlock tb= new TextBlock();
tb.text="A bird is singing to anthor bird in the tree."那么,我要高亮TextBlock里的"bird",代码该如何写?
例如我现在:
TextBlock tb= new TextBlock();
tb.text="A bird is singing to anthor bird in the tree."那么,我要高亮TextBlock里所有的"bird"和"tree",代码该如何写?