I want show text in textbox in 2 colors, for example 1 line red 2 blue, if I use name.ForeColor = Color.Red; all text change color, but I want that will change only 1 line color.
I want show text in textbox in 2 colors, for example 1 line red
Share
You need to use a RichTextBox.
You can then change the textcolor by selecting text and changing the selection color or font.