Is it possible to style part of a node's text differently than the rest of the text in that node?
In particular I need to bold a portion of the text in a node. Something like: "Name: John Smith"
I know it's a long shot, but I wanted to check. I couldn't find any information about this.
Thanks!Jim Honeycutt
Hi Jim,
You could do this with an Editor. What you would have to do is place an UltraFormattedLinkLabel control on the form and assign the EditorControl property of the node to this control. You might want to assign the EditorControl property of the Override if you need to affect multiple nodes.
Anyway, then what you would have to do is set the Text property of the node to an XML string indicating the formatting. The easiest way to learn what the xml tags are is to go to the Value property of the UltraFormattedLinkLabel and click the ellipsis and use the editor there. You can edit the text and then switch tabs to see the XML that was created.
Wow, that's awesome! I'll try that out right now.
I'm guessing that if I do that, I won't see the node's appropriate Appearance values (like Override.ActiveNodeAppearance) reflected in the editor, and that I'll be responsible for applying all appropriate styling to it myself. I'll find out when I try this out.
Thanks for your help!
Jim Honeycutt