<?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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Get a TreeViewItem&#8217;s Parent item</title>
	<atom:link href="http://quickduck.com/blog/2009/09/15/get-a-treeviewitems-parent-item/feed/" rel="self" type="application/rss+xml" />
	<link>http://quickduck.com/blog/2009/09/15/get-a-treeviewitems-parent-item/</link>
	<description>Straight from the mind of geniuseseses....</description>
	<lastBuildDate>Fri, 06 Aug 2010 07:40:27 -0700</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Ron Paul</title>
		<link>http://quickduck.com/blog/2009/09/15/get-a-treeviewitems-parent-item/comment-page-1/#comment-9292</link>
		<dc:creator>Ron Paul</dc:creator>
		<pubDate>Sun, 20 Sep 2009 04:00:58 +0000</pubDate>
		<guid isPermaLink="false">http://quickduck.com/blog/?p=170#comment-9292</guid>
		<description>You have to be careful whenever using this though. In WPF there are logical and visual trees and they are often very different beasts.  this.Parent will actually traverse the logical tree, so say for example with a button in a Listbox item, the button.parent will return the listbox, however visualtreehelper is going to traverse the visual tree, which means that using VisualTreeHelper.GetParent will vary depending on what template/resources you are using. There are reasons for the two different methods so make sure you know the ins and outs of what you are expecting to traverse when using it, it isnt really a replacement for the frameworkelement.Parent method.</description>
		<content:encoded><![CDATA[<p>You have to be careful whenever using this though. In WPF there are logical and visual trees and they are often very different beasts.  this.Parent will actually traverse the logical tree, so say for example with a button in a Listbox item, the button.parent will return the listbox, however visualtreehelper is going to traverse the visual tree, which means that using VisualTreeHelper.GetParent will vary depending on what template/resources you are using. There are reasons for the two different methods so make sure you know the ins and outs of what you are expecting to traverse when using it, it isnt really a replacement for the frameworkelement.Parent method.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
