I need to display some XML in a flow document in read-only mode. Would like to render it with the black, red and blue formatting based on the contents / keywords. I know you can set the foreground color with span elements.
Is there a way to achieve this in a object oriented / dynamic way ? Like you set the content of flow document/paragraph element and it automatically parses the text and sets the foreground color for specific keywords. I am thinking of starting a prototype project with the help of converters - not sure if it can give an extend-able model (for maybe T-SQL someday). May probably have to inherit from flow document and create a custom / user control.
Any thoughts, help or tips would be greatly appreciated.
View Complete Post