Click here to Skip to main content
12,998,892 members (52,663 online)
Click here to Skip to main content


34 bookmarked
Posted 7 Feb 2009

WPF HTML Supported TextBlock

, 7 Feb 2009
This article describes HtmlTextBlock which is a WPF TextBlock that can parse a limited set of HTML tags and display them.
 * Created by SharpDevelop.
 * User: LYCJ
 * Date: 21/10/2007
 * Time: 10:50
 * To change this template use Tools | Options | Coding | Edit Standard Headers.

using System;

namespace QuickZip.MiniHtml2
	/// <summary>
	/// Description of FlowDocument.
	/// </summary>
	public class FlowDocument
		public BlockCollection Blocks;
		public FlowDirection FlowDirection;
		public Double PageWidth;
		public Double PageHeight;
		public FlowDocument()
			Blocks = new BlockCollection();

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.


This article, along with any associated source code and files, is licensed under The GNU Lesser General Public License (LGPLv3)


About the Author

You may also be interested in...

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.170622.1 | Last Updated 7 Feb 2009
Article Copyright 2009 by Leung Yat Chun
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid