Category Archives: WPF

Converting from RTF to HTML and HTML to RTF

A while back I posted Converting RTF to HTML which showed how to convert RTF text into HTML markup using the WPF RichTextBox control.  Since then I have noticed many posts on forums asking for a free and easy way … Continue reading

Posted in C#, HTML, RTF, WPF, XAML | 3 Comments

Converting RTF to HTML

Have you ever had the desire to convert some RTF text into HTML? Probably not. But if you do, then you are in luck! I recently had the need to do this conversion and after some searching found out a way to do it by enhancing a sample distributed in the…

Posted in C#, HTML, RTF, WPF, XAML | 15 Comments

CollectionView.DeferRefresh() : My new best friend

Well, maybe not best friend but its a nice function.  When working with bound collections in WPF you often end up dealing with a CollectionView.  This is the MSDN documentation description of a CollectionView : You can think of a … Continue reading

Posted in WPF | Leave a comment

The two most important WPF Tools

I have been working a lot with WPF and I found the following two FREE tools to be extremely helpful. The first is: XamlPadX – (http://blogs.msdn.com/llobo/archive/2007/12/19/xamlpadx-v3-0.aspx) This is an enhanced version of XamlPad which comes with the .NET SDK.  This … Continue reading

Posted in WPF | Leave a comment