I am Using infragistics Controls in Window Application.
I have put multiple words in Label
’s Text
Property, now want to highlight single word from Label Text.
I am Using infragistics Controls in Window Application.
I have put multiple words in Label
’s Text
Property, now want to highlight single word from Label Text.
Using Infragistics, in your code you can try:
ultraFormattedLinkLabel1.Value = "This is in <b>Bold</b>";
Another way, using a standard rich text box set to readonly and no borders:
richTextBox1.ReadOnly = true;
richTextBox1.BorderStyle = BorderStyle.None;
richTextBox1.Rtf = @"{\rtf1\ansi This is in \b bold\b0.}";
The Infragistics UltraFormattedLinkLabel allows you to set the color of the text for a single word: