Multiple colors in a C# .NET label

后端 未结 11 1717
無奈伤痛
無奈伤痛 2020-11-27 03:54

I\'m looking for a way to display multiple colors in a single C#/.NET label. E.g the label is displaying a series of csv separated values that each take on a color dependin

11条回答
  •  我在风中等你
    2020-11-27 04:03

    You could try using a RichTextBox so that you can get multiple colors for the string and then make it read only and remove the border. Change the background color to the same as the Form it is on and you might get away with it.

提交回复
热议问题