<?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 I</title>
	<atom:link href="http://bea.stollnitz.com/blog/?feed=rss2&#038;p=54" rel="self" type="application/rss+xml" />
	<link>http://bea.stollnitz.com/blog/?p=54</link>
	<description>on Silverlight and WPF</description>
	<lastBuildDate>Thu, 28 Jan 2010 17:05:51 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Bea</title>
		<link>http://bea.stollnitz.com/blog/?p=54&#038;cpage=1#comment-185291</link>
		<dc:creator>Bea</dc:creator>
		<pubDate>Fri, 22 Jan 2010 19:24:58 +0000</pubDate>
		<guid isPermaLink="false">http://bea.stollnitz.com/blog/?p=54#comment-185291</guid>
		<description>Hi Jens,

Ah, got it.
I would expect WPF to detect an infinite loop, but I wouldn&#039;t expect VS to crash. Yeah, open a VS 2010 bug report if you can.

Thanks,
Bea</description>
		<content:encoded><![CDATA[<p>Hi Jens,</p>
<p>Ah, got it.<br />
I would expect WPF to detect an infinite loop, but I wouldn&#8217;t expect VS to crash. Yeah, open a VS 2010 bug report if you can.</p>
<p>Thanks,<br />
Bea</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jens</title>
		<link>http://bea.stollnitz.com/blog/?p=54&#038;cpage=1#comment-185180</link>
		<dc:creator>Jens</dc:creator>
		<pubDate>Fri, 22 Jan 2010 04:10:30 +0000</pubDate>
		<guid isPermaLink="false">http://bea.stollnitz.com/blog/?p=54#comment-185180</guid>
		<description>Hi Bea 

please excuse a newbie, I think this should had been a bug report instead 

by “cyclic Hierarchical Data Template” I meant like if also all tree node item expanded could mean an infinity deep  tree

e.g. in your example changing the binding to 
        
        &lt;HierarchicalDataTemplate DataType=&quot;Node&quot; ItemsSource=&quot;{Binding XPath=.}&quot;&gt;
            &lt;TextBlock Text=&quot;{Binding XPath=@Att}&quot; /&gt;
        &lt;/HierarchicalDataTemplate&gt;
            
        
coursed VS to crash

my setup was not this simple though</description>
		<content:encoded><![CDATA[<p>Hi Bea </p>
<p>please excuse a newbie, I think this should had been a bug report instead </p>
<p>by “cyclic Hierarchical Data Template” I meant like if also all tree node item expanded could mean an infinity deep  tree</p>
<p>e.g. in your example changing the binding to </p>
<p>        &lt;HierarchicalDataTemplate DataType=&#8221;Node&#8221; ItemsSource=&#8221;{Binding XPath=.}&#8221;&gt;<br />
            &lt;TextBlock Text=&#8221;{Binding XPath=@Att}&#8221; /&gt;<br />
        &lt;/HierarchicalDataTemplate&gt;</p>
<p>coursed VS to crash</p>
<p>my setup was not this simple though</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bea</title>
		<link>http://bea.stollnitz.com/blog/?p=54&#038;cpage=1#comment-184959</link>
		<dc:creator>Bea</dc:creator>
		<pubDate>Wed, 20 Jan 2010 23:07:31 +0000</pubDate>
		<guid isPermaLink="false">http://bea.stollnitz.com/blog/?p=54#comment-184959</guid>
		<description>Hi Jens,

By &quot;cyclic Hierarchical Data Template&quot;, do you mean &lt;a href=&quot;http://bea.stollnitz.com/BlogComments/43CyclicHDT.zip&quot; rel=&quot;nofollow&quot;&gt;this&lt;/a&gt;?

If so, it worked well for me in VS 2010 Beta 2 Ultimate, both in the designer and at runtime.

Do you see that issue only in the designer or also when you run it? Sometimes VS has bugs that are specific to the designer.

Hope it helps.
Bea</description>
		<content:encoded><![CDATA[<p>Hi Jens,</p>
<p>By &#8220;cyclic Hierarchical Data Template&#8221;, do you mean <a href="http://bea.stollnitz.com/BlogComments/43CyclicHDT.zip" rel="nofollow">this</a>?</p>
<p>If so, it worked well for me in VS 2010 Beta 2 Ultimate, both in the designer and at runtime.</p>
<p>Do you see that issue only in the designer or also when you run it? Sometimes VS has bugs that are specific to the designer.</p>
<p>Hope it helps.<br />
Bea</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jens</title>
		<link>http://bea.stollnitz.com/blog/?p=54&#038;cpage=1#comment-184912</link>
		<dc:creator>Jens</dc:creator>
		<pubDate>Wed, 20 Jan 2010 06:17:59 +0000</pubDate>
		<guid isPermaLink="false">http://bea.stollnitz.com/blog/?p=54#comment-184912</guid>
		<description>Hi Bea

Is there any simple solution to avoid the WPF solution running for ever in case of cyclic Hierarchical Data Templates? 

(Running forever seems at least to happen in the VSExpress 2010 Beta 2 designer)

Thanks Jens</description>
		<content:encoded><![CDATA[<p>Hi Bea</p>
<p>Is there any simple solution to avoid the WPF solution running for ever in case of cyclic Hierarchical Data Templates? </p>
<p>(Running forever seems at least to happen in the VSExpress 2010 Beta 2 designer)</p>
<p>Thanks Jens</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bea</title>
		<link>http://bea.stollnitz.com/blog/?p=54&#038;cpage=1#comment-170155</link>
		<dc:creator>Bea</dc:creator>
		<pubDate>Fri, 20 Nov 2009 03:01:24 +0000</pubDate>
		<guid isPermaLink="false">http://bea.stollnitz.com/blog/?p=54#comment-170155</guid>
		<description>Hi Xusan,

To switch styles, you can simply set the Style property of an element:
btn.Style = (Style)this.Resources[&quot;style2&quot;];

This works well in WPF and Silverlight 3 (it didn&#039;t use to be supported in Silverlight 2).

Bea</description>
		<content:encoded><![CDATA[<p>Hi Xusan,</p>
<p>To switch styles, you can simply set the Style property of an element:<br />
btn.Style = (Style)this.Resources["style2"];</p>
<p>This works well in WPF and Silverlight 3 (it didn&#8217;t use to be supported in Silverlight 2).</p>
<p>Bea</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Xusan</title>
		<link>http://bea.stollnitz.com/blog/?p=54&#038;cpage=1#comment-163866</link>
		<dc:creator>Xusan</dc:creator>
		<pubDate>Thu, 17 Sep 2009 04:36:39 +0000</pubDate>
		<guid isPermaLink="false">http://bea.stollnitz.com/blog/?p=54#comment-163866</guid>
		<description>How to achieve dynamic switch between two Styles ?</description>
		<content:encoded><![CDATA[<p>How to achieve dynamic switch between two Styles ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bill Bartmann</title>
		<link>http://bea.stollnitz.com/blog/?p=54&#038;cpage=1#comment-162169</link>
		<dc:creator>Bill Bartmann</dc:creator>
		<pubDate>Thu, 03 Sep 2009 21:27:20 +0000</pubDate>
		<guid isPermaLink="false">http://bea.stollnitz.com/blog/?p=54#comment-162169</guid>
		<description>Excellent site, keep up the good work</description>
		<content:encoded><![CDATA[<p>Excellent site, keep up the good work</p>
]]></content:encoded>
	</item>
</channel>
</rss>
