Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Treeview ITem how do display HTML

Posted on 2010-11-10
1
Medium Priority
?
511 Views
Last Modified: 2013-11-12
Hi..
I have a treeview how can I display formated HTML in the TreeViewITem

 TreeViewItem child = new TreeViewItem();
                           child.Header  =  <HTML HERE>

thanks
0
Comment
Question by:JElster
1 Comment
 
LVL 4

Accepted Solution

by:
grishav earned 500 total points
ID: 34103013
There is no built-in support for html rendering. You can try this:

http://www.codeproject.com/KB/WPF/htmltextblock.aspx
0

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

After several hours of googling I could not gather any information on this topic. There are several ways of controlling the USB port connected to any storage device. The best example of that is by changing the registry value of "HKEY_LOCAL_MACHINE\S…
Entering time in Microsoft Access can be difficult. An input mask often bothers users more than helping them and won't catch all typing errors. This article shows how to create a textbox for 24-hour time input with full validation politely catching …
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…

879 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question