Forums - C# Corner

Forum guidelines
Mr Celetron

Mr Celetron

  • 1.3k
  • 2
  • 2.2k

How to make a word in a text modifiable(Change color, ....)

Jun 27 2012 6:13 AM
I have a problem, i have text stored in xml file formatting like this:




                    John


                    is


                    a doctor




                    He


                    has


                    a wife


    ....


I want to show this text for User(on a TextBox, a Panel,...) ,and tokens which have tag='man'(in this case:John,He ) have different color from the rest ,plus, they can be Clicked (to show extra information,etc) .It appears that in ToolBox there is not such a tool could do this .So I don't know how to solve it, does anybody have any suggestions ??Thanks for reading this! 


Answers (1)

C# Corner Annual Conference 2017

SPONSORED BY

File APIs for .NET
Aspose are the market leader of .NET APIs for file business formats – natively work with DOCX, XLSX, PPT, PDF, MSG, MPP, images formats and many more!