Is there a way to convert HTML into XAML? I noticed that you can paste HTML into a RichTextBox and you can get the XAML by looking at the FlowDocument. However, this is a hack. Is there a better way?
I don't think it's possible to do an exact conversion from HTML to XAML, because there isn't a one to one equivalence between the two.
There are a few tools that may help you, but don't expect a perfect result :
http://msdn.microsoft.com/en-us/library/aa972129.aspx
http://windowsclient.net/downloads/folders/controlgallery/entry2313.aspx
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With