I add shape page. In shape of text can I do change color of text at third line similar like picture? If I choose third line of text change color can first and second text no change color? How I write it. Because user want to change or add any of text color.
Thanks.
1 Answer, 1 is accepted
0
Dinko | Tech Support Engineer
Telerik team
answered on 04 Dec 2023, 11:11 AM
Hi Yew,
Thank you for contacting us.
The text can be formatted by making use of HTML-like formatting which is supported by Telerik Presentation Framework. If the user wants to edit the Text runtime, he can use the settings panel of the current shape and edit the HTML per its needs. The following image, demonstrates how the shape will look if I set the following string to its Text property.
<html><size=12>This is RadLabel <br><b><font=Arial>Arial, Bold</b><br><i><color= Red><font=Times New Roman>Times, Italic <u>Underline</u><br><size=9>Size = 9<br><color= 0, 0, 255>Sample Text
I hope that this approach will work for you.
Regards,
Dinko | Tech Support Engineer
Progress Telerik