<?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: How can I expand items in a TreeView? &#8211; Part II</title>
	<atom:link href="http://bea.stollnitz.com/blog/?feed=rss2&#038;p=55" rel="self" type="application/rss+xml" />
	<link>http://bea.stollnitz.com/blog/?p=55</link>
	<description>on Silverlight and WPF</description>
	<lastBuildDate>Thu, 22 Jul 2010 20:56:04 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Bea</title>
		<link>http://bea.stollnitz.com/blog/?p=55&#038;cpage=1#comment-185838</link>
		<dc:creator>Bea</dc:creator>
		<pubDate>Mon, 25 Jan 2010 19:09:41 +0000</pubDate>
		<guid isPermaLink="false">http://bea.stollnitz.com/blog/?p=55#comment-185838</guid>
		<description>Hi RB,

You will have to remember the node that was expanded and use one of the techniques I explain here to expand it when the page loads.

Bea</description>
		<content:encoded><![CDATA[<p>Hi RB,</p>
<p>You will have to remember the node that was expanded and use one of the techniques I explain here to expand it when the page loads.</p>
<p>Bea</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: RB</title>
		<link>http://bea.stollnitz.com/blog/?p=55&#038;cpage=1#comment-185818</link>
		<dc:creator>RB</dc:creator>
		<pubDate>Mon, 25 Jan 2010 18:24:43 +0000</pubDate>
		<guid isPermaLink="false">http://bea.stollnitz.com/blog/?p=55#comment-185818</guid>
		<description>I have a Silverlight 3 Treeview that comes back with all nodes collapsed after postback.  I would like to keep ONLY the parent node that was selected before postback expanded after postback.  Do you know how I can accomplish this?  Thanks in advance.  RB</description>
		<content:encoded><![CDATA[<p>I have a Silverlight 3 Treeview that comes back with all nodes collapsed after postback.  I would like to keep ONLY the parent node that was selected before postback expanded after postback.  Do you know how I can accomplish this?  Thanks in advance.  RB</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bea</title>
		<link>http://bea.stollnitz.com/blog/?p=55&#038;cpage=1#comment-185081</link>
		<dc:creator>Bea</dc:creator>
		<pubDate>Thu, 21 Jan 2010 17:28:05 +0000</pubDate>
		<guid isPermaLink="false">http://bea.stollnitz.com/blog/?p=55#comment-185081</guid>
		<description>Hi Cosmin,

To scroll a TreeView to show the selected node, you can do the following:

TreeViewItem tvi = tv.ItemContainerGenerator.ContainerFromIndex(tv.Items.Count - 1) as TreeViewItem;
tvi.IsSelected = true;
tvi.BringIntoView();

&lt;a href=&quot;http://bea.stollnitz.com/BlogComments/44ScrollingTreeView.zip&quot; rel=&quot;nofollow&quot;&gt;Here&lt;/a&gt; you can find a full project that demonstrates this.

Hope this helps.

Bea</description>
		<content:encoded><![CDATA[<p>Hi Cosmin,</p>
<p>To scroll a TreeView to show the selected node, you can do the following:</p>
<p>TreeViewItem tvi = tv.ItemContainerGenerator.ContainerFromIndex(tv.Items.Count &#8211; 1) as TreeViewItem;<br />
tvi.IsSelected = true;<br />
tvi.BringIntoView();</p>
<p><a href="http://bea.stollnitz.com/BlogComments/44ScrollingTreeView.zip" rel="nofollow">Here</a> you can find a full project that demonstrates this.</p>
<p>Hope this helps.</p>
<p>Bea</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cosmin</title>
		<link>http://bea.stollnitz.com/blog/?p=55&#038;cpage=1#comment-184747</link>
		<dc:creator>Cosmin</dc:creator>
		<pubDate>Tue, 19 Jan 2010 09:13:51 +0000</pubDate>
		<guid isPermaLink="false">http://bea.stollnitz.com/blog/?p=55#comment-184747</guid>
		<description>Hi

Do you know how can the treeview position the scroll to the selected node? In case the width of treeview is small. 

Thanks</description>
		<content:encoded><![CDATA[<p>Hi</p>
<p>Do you know how can the treeview position the scroll to the selected node? In case the width of treeview is small. </p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bea</title>
		<link>http://bea.stollnitz.com/blog/?p=55&#038;cpage=1#comment-166461</link>
		<dc:creator>Bea</dc:creator>
		<pubDate>Sun, 11 Oct 2009 19:52:56 +0000</pubDate>
		<guid isPermaLink="false">http://bea.stollnitz.com/blog/?p=55#comment-166461</guid>
		<description>Hi Martin,

Yes, that bug has been fixed. I remember that the fix was checked in not too long after I wrote this blog post. So it should be in the SL3 toolkit, if not before.

Thanks for posting!

Bea</description>
		<content:encoded><![CDATA[<p>Hi Martin,</p>
<p>Yes, that bug has been fixed. I remember that the fix was checked in not too long after I wrote this blog post. So it should be in the SL3 toolkit, if not before.</p>
<p>Thanks for posting!</p>
<p>Bea</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Martin</title>
		<link>http://bea.stollnitz.com/blog/?p=55&#038;cpage=1#comment-165531</link>
		<dc:creator>Martin</dc:creator>
		<pubDate>Wed, 30 Sep 2009 12:52:15 +0000</pubDate>
		<guid isPermaLink="false">http://bea.stollnitz.com/blog/?p=55#comment-165531</guid>
		<description>Hi

Any updates to this information with regards to SL3 and the new toolkit ?

regards
Martin</description>
		<content:encoded><![CDATA[<p>Hi</p>
<p>Any updates to this information with regards to SL3 and the new toolkit ?</p>
<p>regards<br />
Martin</p>
]]></content:encoded>
	</item>
</channel>
</rss>
