<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: A versatile WPF TreeView control</title>
	<atom:link href="http://www.hardcodet.net/2008/01/wpf-treeview/feed" rel="self" type="application/rss+xml" />
	<link>http://www.hardcodet.net/2008/01/wpf-treeview</link>
	<description>code for fame, not fortune</description>
	<pubDate>Mon, 01 Dec 2008 21:11:24 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.2</generator>
		<item>
		<title>By: Matthias Sandmann</title>
		<link>http://www.hardcodet.net/2008/01/wpf-treeview#comment-158</link>
		<dc:creator>Matthias Sandmann</dc:creator>
		<pubDate>Sun, 16 Nov 2008 10:27:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.hardcodet.net/net/wpf/2008/01/wpf-treeview#comment-158</guid>
		<description>Great Job,
good work and a very usefull one.
Have made some tests and will use this tree in my upcoming projects.
Big thanks to the author!

Matthias</description>
		<content:encoded><![CDATA[<p>Great Job,<br />
good work and a very usefull one.<br />
Have made some tests and will use this tree in my upcoming projects.<br />
Big thanks to the author!</p>
<p>Matthias</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Justin</title>
		<link>http://www.hardcodet.net/2008/01/wpf-treeview#comment-126</link>
		<dc:creator>Justin</dc:creator>
		<pubDate>Tue, 22 Jul 2008 17:10:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.hardcodet.net/net/wpf/2008/01/wpf-treeview#comment-126</guid>
		<description>Great control.  Good work on implementing a very usable set of features.  To answer Walt's question about TreeResources.xaml breaking: I changed the Assembly Name (in project properties) to remove the space, assuming XAML doesn't like spaces.  I then rebuilt the project and re-created the "shop" namespace reference in TreeResources.xaml.  You may also be able to just remove the ";assembly=" from the end of the shop namespace declaration.

Justin</description>
		<content:encoded><![CDATA[<p>Great control.  Good work on implementing a very usable set of features.  To answer Walt&#8217;s question about TreeResources.xaml breaking: I changed the Assembly Name (in project properties) to remove the space, assuming XAML doesn&#8217;t like spaces.  I then rebuilt the project and re-created the &#8220;shop&#8221; namespace reference in TreeResources.xaml.  You may also be able to just remove the &#8220;;assembly=&#8221; from the end of the shop namespace declaration.</p>
<p>Justin</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Toni</title>
		<link>http://www.hardcodet.net/2008/01/wpf-treeview#comment-87</link>
		<dc:creator>Toni</dc:creator>
		<pubDate>Tue, 15 Apr 2008 12:36:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.hardcodet.net/net/wpf/2008/01/wpf-treeview#comment-87</guid>
		<description>Hi Philipp
thanks for your quick reply.
Overriding the 'CreateTreeViewItem' method was the perfect solution for me.

have a nice day
Toni</description>
		<content:encoded><![CDATA[<p>Hi Philipp<br />
thanks for your quick reply.<br />
Overriding the &#8216;CreateTreeViewItem&#8217; method was the perfect solution for me.</p>
<p>have a nice day<br />
Toni</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Philipp Sumi</title>
		<link>http://www.hardcodet.net/2008/01/wpf-treeview#comment-86</link>
		<dc:creator>Philipp Sumi</dc:creator>
		<pubDate>Mon, 14 Apr 2008 17:36:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.hardcodet.net/net/wpf/2008/01/wpf-treeview#comment-86</guid>
		<description>Hi Toni

Thanks for your kind words! Depending on the amount of nodes/menues, there are different strategies:

&lt;ul&gt;
	&lt;li&gt;You could set the context menu of a node using a style or trigger. This would be a clean and declarative solution that even cooperates with the NodeContextMenu property: If the context menu of a node is set, &lt;code&gt;NodeContextMenu &lt;/code&gt;is ignored, otherwise applied.&lt;/li&gt;

	&lt;li&gt;You can assign a context menu to specific or all nodes during creation by overriding the &lt;code&gt;CreateTreeViewItem &lt;/code&gt;method. Again, you can still use &lt;code&gt;NodeContextMenu &lt;/code&gt;for a default context menu.&lt;/li&gt;

	&lt;li&gt;Intercept the right-clicks on tree nodes and set context menus on demand. Have a look at the &lt;code&gt;OnRightMouseButtonUp &lt;/code&gt;method of the base class - you should be able to use that code in order to define your own event listener that assigns your custom context menus.&lt;/li&gt;
&lt;/ul&gt;



Hope that helps,
Philipp</description>
		<content:encoded><![CDATA[<p>Hi Toni</p>
<p>Thanks for your kind words! Depending on the amount of nodes/menues, there are different strategies:</p>
<ul>
<li>You could set the context menu of a node using a style or trigger. This would be a clean and declarative solution that even cooperates with the NodeContextMenu property: If the context menu of a node is set, <code>NodeContextMenu </code>is ignored, otherwise applied.</li>
<li>You can assign a context menu to specific or all nodes during creation by overriding the <code>CreateTreeViewItem </code>method. Again, you can still use <code>NodeContextMenu </code>for a default context menu.</li>
<li>Intercept the right-clicks on tree nodes and set context menus on demand. Have a look at the <code>OnRightMouseButtonUp </code>method of the base class - you should be able to use that code in order to define your own event listener that assigns your custom context menus.</li>
</ul>
<p>Hope that helps,<br />
Philipp</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Toni</title>
		<link>http://www.hardcodet.net/2008/01/wpf-treeview#comment-85</link>
		<dc:creator>Toni</dc:creator>
		<pubDate>Mon, 14 Apr 2008 17:21:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.hardcodet.net/net/wpf/2008/01/wpf-treeview#comment-85</guid>
		<description>Hi Philipp
im very impressed about your work. It is a well designed and a nearly perfect implementation. Thats why i have the control implemented in my current application. The costumization to my needs was really easy. 
Now i have a problem with the implementation of context menus. Is there a simple way to add different contect menus to the nodes? 
It would be very nice if you find the time to give me a answer.
Thanks in advance -- Toni</description>
		<content:encoded><![CDATA[<p>Hi Philipp<br />
im very impressed about your work. It is a well designed and a nearly perfect implementation. Thats why i have the control implemented in my current application. The costumization to my needs was really easy.<br />
Now i have a problem with the implementation of context menus. Is there a simple way to add different contect menus to the nodes?<br />
It would be very nice if you find the time to give me a answer.<br />
Thanks in advance &#8212; Toni</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Philipp Sumi</title>
		<link>http://www.hardcodet.net/2008/01/wpf-treeview#comment-69</link>
		<dc:creator>Philipp Sumi</dc:creator>
		<pubDate>Thu, 03 Apr 2008 11:30:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.hardcodet.net/net/wpf/2008/01/wpf-treeview#comment-69</guid>
		<description>Hi Brian

This feature is already implemented in my current release (there's a new &lt;em&gt;ObserveRootItems &lt;/em&gt;dependency property which defaults to true). I'm pretty sure I'll release this weekend, but if you want to get your hands on the current build, just drop me a mail :)

Cheers,
Philipp</description>
		<content:encoded><![CDATA[<p>Hi Brian</p>
<p>This feature is already implemented in my current release (there&#8217;s a new <em>ObserveRootItems </em>dependency property which defaults to true). I&#8217;m pretty sure I&#8217;ll release this weekend, but if you want to get your hands on the current build, just drop me a mail <img src='http://www.hardcodet.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Cheers,<br />
Philipp</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brian</title>
		<link>http://www.hardcodet.net/2008/01/wpf-treeview#comment-67</link>
		<dc:creator>Brian</dc:creator>
		<pubDate>Wed, 02 Apr 2008 14:28:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.hardcodet.net/net/wpf/2008/01/wpf-treeview#comment-67</guid>
		<description>Philipp,

Awesome control.  Only problem is that I'm binding to an ObservableCollection and your treeview isn't picking up on new items added there.  So, for your example, adding items to the root node.  It works great in the rest of the hierarchy - do you know off hand a fix for that?  I see that your "Items" is IEnumerable - does that affect the binding?

Thanks.</description>
		<content:encoded><![CDATA[<p>Philipp,</p>
<p>Awesome control.  Only problem is that I&#8217;m binding to an ObservableCollection and your treeview isn&#8217;t picking up on new items added there.  So, for your example, adding items to the root node.  It works great in the rest of the hierarchy - do you know off hand a fix for that?  I see that your &#8220;Items&#8221; is IEnumerable - does that affect the binding?</p>
<p>Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Philipp Sumi</title>
		<link>http://www.hardcodet.net/2008/01/wpf-treeview#comment-23</link>
		<dc:creator>Philipp Sumi</dc:creator>
		<pubDate>Wed, 05 Mar 2008 17:43:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.hardcodet.net/net/wpf/2008/01/wpf-treeview#comment-23</guid>
		<description>Nordin: Thanks for your feedback - I'm glad you like the control!

Unfortunately, the VS designer breaks very easily and the sample uses various external resources. However, data templates are written in XAML anyway and creating them works the same as for the standard WPF TreeView control. For a minimal style, check the tutorial at CodeProject, it includes a *very* simple data template (chapter "Data Templates"). The whole data template is only 6 lines of XAML so you should easily understand what it's doing :)

And of course, there will be enhancements - I've planned built-in filtering and multi-selection support for the next iteration. I'll update the CodeProject article (and post here, of course) as soon as it's done. No CodePlex, however ;)

Cheers,
Philipp</description>
		<content:encoded><![CDATA[<p>Nordin: Thanks for your feedback - I&#8217;m glad you like the control!</p>
<p>Unfortunately, the VS designer breaks very easily and the sample uses various external resources. However, data templates are written in XAML anyway and creating them works the same as for the standard WPF TreeView control. For a minimal style, check the tutorial at CodeProject, it includes a *very* simple data template (chapter &#8220;Data Templates&#8221;). The whole data template is only 6 lines of XAML so you should easily understand what it&#8217;s doing <img src='http://www.hardcodet.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>And of course, there will be enhancements - I&#8217;ve planned built-in filtering and multi-selection support for the next iteration. I&#8217;ll update the CodeProject article (and post here, of course) as soon as it&#8217;s done. No CodePlex, however <img src='http://www.hardcodet.net/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Cheers,<br />
Philipp</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nordin Rahman</title>
		<link>http://www.hardcodet.net/2008/01/wpf-treeview#comment-22</link>
		<dc:creator>Nordin Rahman</dc:creator>
		<pubDate>Wed, 05 Mar 2008 12:35:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.hardcodet.net/net/wpf/2008/01/wpf-treeview#comment-22</guid>
		<description>Dear Philip, first of all, I really love this control. I read your post regarding this control both in here and in CodeProject. Kudo for you.

However, I love to know if there is a simpler tutorial, especially on the part that we need to create the XAML resource file in order to customize the tree appearance. It is quite difficult for me to write the XAML resource (that has DataTemplate tag), because the IDE always complained that the tag is not being defined... I'm not sure.

Secondly, will there be any enhancement to this nice control. Will it be placed in CodePlex, for example?

Thanks.</description>
		<content:encoded><![CDATA[<p>Dear Philip, first of all, I really love this control. I read your post regarding this control both in here and in CodeProject. Kudo for you.</p>
<p>However, I love to know if there is a simpler tutorial, especially on the part that we need to create the XAML resource file in order to customize the tree appearance. It is quite difficult for me to write the XAML resource (that has DataTemplate tag), because the IDE always complained that the tag is not being defined&#8230; I&#8217;m not sure.</p>
<p>Secondly, will there be any enhancement to this nice control. Will it be placed in CodePlex, for example?</p>
<p>Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Philipp Sumi</title>
		<link>http://www.hardcodet.net/2008/01/wpf-treeview#comment-19</link>
		<dc:creator>Philipp Sumi</dc:creator>
		<pubDate>Fri, 29 Feb 2008 21:23:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.hardcodet.net/net/wpf/2008/01/wpf-treeview#comment-19</guid>
		<description>Hi Walt
It's ridiculously easy to break the WPF designer in VS2008 - it might have to do with a style I assigned or a resource declaration. As a matter of fact, I have no idea - I don't use the designer anymore (XAML view only) as it annoys the hell out of me - sorry ;)</description>
		<content:encoded><![CDATA[<p>Hi Walt<br />
It&#8217;s ridiculously easy to break the WPF designer in VS2008 - it might have to do with a style I assigned or a resource declaration. As a matter of fact, I have no idea - I don&#8217;t use the designer anymore (XAML view only) as it annoys the hell out of me - sorry <img src='http://www.hardcodet.net/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
</channel>
</rss>


