|
HTML text
Wednesday, 19 August 2009
All text node controls (NodeTextBox, ExpandableTextBox, ExpandablePanel, etc.) and columns header allow you to show HTML text inside. To do that, enable the SupportHtml node control property.
Example: Node node = new Node("<i>Some text</i><br/><b><font color='Blue'>Second</font> line</b>"); Node node = new Node("<tab/>First line<br/>Second line");
Example: string text = "<font color=Blue>Blue text</font>"; Node node = new Node(HtmlTextHelper.TextToHtml(text));
|
|