MarkupConverter icon indicating copy to clipboard operation
MarkupConverter copied to clipboard

This sample shows how to convert from HTML to RTF, RTF to HTML, XAML to HTML and HTML to XAML.

MarkupConverter

This sample shows how to convert from HTML to RTF, RTF to HTML, XAML to HTML and HTML to XAML.

For a full detailed write up on how this works see Converting between RTF and HTML on the Code Gallery.