<?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: More Fun with WPF ScrollViewer</title>
	<atom:link href="http://www.developingfor.net/wpf/more-fun-with-wpf-scrollviewer.html/feed" rel="self" type="application/rss+xml" />
	<link>http://www.developingfor.net/wpf/more-fun-with-wpf-scrollviewer.html</link>
	<description>Real World .NET Methods, Tricks, and Examples</description>
	<lastBuildDate>Sat, 31 Jul 2010 00:54:16 -0400</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Amit</title>
		<link>http://www.developingfor.net/wpf/more-fun-with-wpf-scrollviewer.html/comment-page-1#comment-9982</link>
		<dc:creator>Amit</dc:creator>
		<pubDate>Sat, 24 Apr 2010 08:50:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.developingfor.net/?p=283#comment-9982</guid>
		<description>listBox1.ScrollIntoView(textBox1.Text);


this will solve the problem
no need of index as well</description>
		<content:encoded><![CDATA[<p>listBox1.ScrollIntoView(textBox1.Text);</p>
<p>this will solve the problem<br />
no need of index as well</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joel</title>
		<link>http://www.developingfor.net/wpf/more-fun-with-wpf-scrollviewer.html/comment-page-1#comment-9888</link>
		<dc:creator>Joel</dc:creator>
		<pubDate>Mon, 21 Sep 2009 16:06:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.developingfor.net/?p=283#comment-9888</guid>
		<description>Sorry regev, I have no experience with the WPF TreeView control.  I would imagine there is a CurrentNode or SelectedNode property you could use. Let us know what you find.</description>
		<content:encoded><![CDATA[<p>Sorry regev, I have no experience with the WPF TreeView control.  I would imagine there is a CurrentNode or SelectedNode property you could use. Let us know what you find.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: regev</title>
		<link>http://www.developingfor.net/wpf/more-fun-with-wpf-scrollviewer.html/comment-page-1#comment-9887</link>
		<dc:creator>regev</dc:creator>
		<pubDate>Mon, 21 Sep 2009 08:04:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.developingfor.net/?p=283#comment-9887</guid>
		<description>hi,
i was wondering if you encountered the same problem (the scrolling issue) in the WPF TreeView as well (i did...).
the above solution should be adjusted since TreeView doesn&#039;t have any SelectedIndex property (what should such potential property return?)</description>
		<content:encoded><![CDATA[<p>hi,<br />
i was wondering if you encountered the same problem (the scrolling issue) in the WPF TreeView as well (i did&#8230;).<br />
the above solution should be adjusted since TreeView doesn&#8217;t have any SelectedIndex property (what should such potential property return?)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joel</title>
		<link>http://www.developingfor.net/wpf/more-fun-with-wpf-scrollviewer.html/comment-page-1#comment-8053</link>
		<dc:creator>Joel</dc:creator>
		<pubDate>Wed, 03 Jun 2009 14:03:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.developingfor.net/?p=283#comment-8053</guid>
		<description>Thanks Chris, nice to know I&#039;m not the only one who has a hate/hate relationship with ScrollViewer!</description>
		<content:encoded><![CDATA[<p>Thanks Chris, nice to know I&#8217;m not the only one who has a hate/hate relationship with ScrollViewer!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ChrisC</title>
		<link>http://www.developingfor.net/wpf/more-fun-with-wpf-scrollviewer.html/comment-page-1#comment-8043</link>
		<dc:creator>ChrisC</dc:creator>
		<pubDate>Wed, 03 Jun 2009 09:39:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.developingfor.net/?p=283#comment-8043</guid>
		<description>(sorry about the dual posts) another point to note is that, even if you dont use a scrollviewer, and enable the listbox to perform it&#039;s own scrolling, ScrollIntoView still doesnt work correctly. 

there are multiple posts on Silverlight.net and connect.microsoft.com. i think the workaround you use above is the best that anyone has found, however this is supposed to work as well:  href=&quot;http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=373113</description>
		<content:encoded><![CDATA[<p>(sorry about the dual posts) another point to note is that, even if you dont use a scrollviewer, and enable the listbox to perform it&#8217;s own scrolling, ScrollIntoView still doesnt work correctly. </p>
<p>there are multiple posts on Silverlight.net and connect.microsoft.com. i think the workaround you use above is the best that anyone has found, however this is supposed to work as well:  href=&#8221;http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=373113</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ChrisC</title>
		<link>http://www.developingfor.net/wpf/more-fun-with-wpf-scrollviewer.html/comment-page-1#comment-8042</link>
		<dc:creator>ChrisC</dc:creator>
		<pubDate>Wed, 03 Jun 2009 09:28:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.developingfor.net/?p=283#comment-8042</guid>
		<description>The reason that BringIntoView and ScrollIntoView don&#039;t work is that they are methods on the ListBox itself. If the ListBox is contained in a scrollviewer as you are doing (and as i am doing on a project similar to yours) as far as Silverlight is concerned, the ListBox has all the space in the world to use, and every pixel of it is visible. 

The ScrollViewer, therefore, acts as a kind of window onto the ListBox, which is blocking some of the listbox content. I, as you did, first tried to use ListBox members to make the selected item visible. Because the ListBox and ScrollViewer are separate controls, the methods are ignored. the ScrollViewer, as you and i both found, is the real villain of the piece, and the one that needs beating with a sharp stick to provide the correct functionality...</description>
		<content:encoded><![CDATA[<p>The reason that BringIntoView and ScrollIntoView don&#8217;t work is that they are methods on the ListBox itself. If the ListBox is contained in a scrollviewer as you are doing (and as i am doing on a project similar to yours) as far as Silverlight is concerned, the ListBox has all the space in the world to use, and every pixel of it is visible. </p>
<p>The ScrollViewer, therefore, acts as a kind of window onto the ListBox, which is blocking some of the listbox content. I, as you did, first tried to use ListBox members to make the selected item visible. Because the ListBox and ScrollViewer are separate controls, the methods are ignored. the ScrollViewer, as you and i both found, is the real villain of the piece, and the one that needs beating with a sharp stick to provide the correct functionality&#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>
