Rendering text dynamically in with style

I'm building an application and I basically want to convert HTML into XAML's flow document style (e.g. <Paragraph>, <List>, etc...)

I'm pretty confident I can use RegEx to replace the appropriate HTML tags into XAML tags. The problem is, how do I dynamically bind this to a content that supports those tags such as TextFlow

My basic idea is to bind the original string to the TextFlow (or other control I use), and then use a ValueConverter to convert it each time. The only problem is none of the flow controls seem to have a bindable content property.

Anyone have any ideas


Answer this question

Rendering text dynamically in with style