<?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: Auto scroll ListBox in WPF</title>
	<atom:link href="http://khason.net/blog/auto-scroll-listbox-in-wpf/feed/" rel="self" type="application/rss+xml" />
	<link>http://khason.net/blog/auto-scroll-listbox-in-wpf/</link>
	<description>Take care of the sense, and the sounds will take care of themselves.</description>
	<lastBuildDate>Tue, 07 Feb 2012 22:44:08 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Bob</title>
		<link>http://khason.net/blog/auto-scroll-listbox-in-wpf/comment-page-1/#comment-4650</link>
		<dc:creator>Bob</dc:creator>
		<pubDate>Fri, 30 Sep 2011 19:18:28 +0000</pubDate>
		<guid isPermaLink="false">http://khason.net/blog/auto-scroll-listbox-in-wpf/#comment-4650</guid>
		<description>The line
...
else  data.CollectionChanged -= autoscroller;
...
potentially leaks memory.

Unregistering events with lambda expressions has problems, see
http://stackoverflow.com/questions/2465040/using-lambda-expressions-
for-event-handlers/2465054#2465054</description>
		<content:encoded><![CDATA[<p>The line<br />
&#8230;<br />
else  data.CollectionChanged -= autoscroller;<br />
&#8230;<br />
potentially leaks memory.</p>
<p>Unregistering events with lambda expressions has problems, see<br />
<a href="http://stackoverflow.com/questions/2465040/using-lambda-expressions-" rel="nofollow">http://stackoverflow.com/questions/2465040/using-lambda-expressions-</a><br />
for-event-handlers/2465054#2465054</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gaganjot Singh</title>
		<link>http://khason.net/blog/auto-scroll-listbox-in-wpf/comment-page-1/#comment-4340</link>
		<dc:creator>Gaganjot Singh</dc:creator>
		<pubDate>Wed, 20 Apr 2011 02:40:24 +0000</pubDate>
		<guid isPermaLink="false">http://khason.net/blog/auto-scroll-listbox-in-wpf/#comment-4340</guid>
		<description>If you make last added item selected then
you can scroll to selected item on ListBox&#039;s SelectionChanged event.

private void ListBox_SelectionChanged(object sender, SelectionChangedEventArgs e)
{
  if (e.AddedItems.Count &gt; 0)
    (sender as ListBox)
    .ScrollIntoView(e.AddedItems[0]);
}</description>
		<content:encoded><![CDATA[<p>If you make last added item selected then<br />
you can scroll to selected item on ListBox&#8217;s SelectionChanged event.</p>
<p>private void ListBox_SelectionChanged(object sender, SelectionChangedEventArgs e)<br />
{<br />
  if (e.AddedItems.Count &gt; 0)<br />
    (sender as ListBox)<br />
    .ScrollIntoView(e.AddedItems[0]);<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Carl W</title>
		<link>http://khason.net/blog/auto-scroll-listbox-in-wpf/comment-page-1/#comment-4280</link>
		<dc:creator>Carl W</dc:creator>
		<pubDate>Mon, 14 Mar 2011 14:21:15 +0000</pubDate>
		<guid isPermaLink="false">http://khason.net/blog/auto-scroll-listbox-in-wpf/#comment-4280</guid>
		<description>This works really well thanks. 

The benefit of this over the &#039;ScrollToEnd&#039; method that was proposed is that it works fine for an observable collection where items are being added into the middle or the beginning.</description>
		<content:encoded><![CDATA[<p>This works really well thanks. </p>
<p>The benefit of this over the &#8216;ScrollToEnd&#8217; method that was proposed is that it works fine for an observable collection where items are being added into the middle or the beginning.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Syed</title>
		<link>http://khason.net/blog/auto-scroll-listbox-in-wpf/comment-page-1/#comment-4100</link>
		<dc:creator>Syed</dc:creator>
		<pubDate>Wed, 22 Dec 2010 10:30:27 +0000</pubDate>
		<guid isPermaLink="false">http://khason.net/blog/auto-scroll-listbox-in-wpf/#comment-4100</guid>
		<description>Hi,can u please provide me the source code for this article..i m really in need of this article..</description>
		<content:encoded><![CDATA[<p>Hi,can u please provide me the source code for this article..i m really in need of this article..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Товары для детей &#8722; Конверт детский &#171;VENUS BABY COAT&#187;. Голубой. MORA</title>
		<link>http://khason.net/blog/auto-scroll-listbox-in-wpf/comment-page-1/#comment-3616</link>
		<dc:creator>Товары для детей &#8722; Конверт детский &#171;VENUS BABY COAT&#187;. Голубой. MORA</dc:creator>
		<pubDate>Wed, 17 Feb 2010 20:48:07 +0000</pubDate>
		<guid isPermaLink="false">http://khason.net/blog/auto-scroll-listbox-in-wpf/#comment-3616</guid>
		<description>[...] Auto scroll ListBox in WPF &#124; Tamir Khason - Just code [...]</description>
		<content:encoded><![CDATA[<p>[...] Auto scroll ListBox in WPF | Tamir Khason &#8211; Just code [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Wolfgang</title>
		<link>http://khason.net/blog/auto-scroll-listbox-in-wpf/comment-page-1/#comment-3566</link>
		<dc:creator>Wolfgang</dc:creator>
		<pubDate>Fri, 15 Jan 2010 08:56:34 +0000</pubDate>
		<guid isPermaLink="false">http://khason.net/blog/auto-scroll-listbox-in-wpf/#comment-3566</guid>
		<description>Great Tip!!! Just starting up with WPF and I&#039;m starting to notice the differences to WinForms and Aps straight away... Trying to suck up as many tutorials / Tips as pos...</description>
		<content:encoded><![CDATA[<p>Great Tip!!! Just starting up with WPF and I&#8217;m starting to notice the differences to WinForms and Aps straight away&#8230; Trying to suck up as many tutorials / Tips as pos&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jamie Wink</title>
		<link>http://khason.net/blog/auto-scroll-listbox-in-wpf/comment-page-1/#comment-3475</link>
		<dc:creator>Jamie Wink</dc:creator>
		<pubDate>Sat, 28 Nov 2009 11:26:00 +0000</pubDate>
		<guid isPermaLink="false">http://khason.net/blog/auto-scroll-listbox-in-wpf/#comment-3475</guid>
		<description>Hello, I have just come across your blog whilst browsing on online as I&#039;m seeking some material on engine lifts!. It is a good blog so I have bookmarked you and will revisit another day to give it a more detailed look when I have more time.</description>
		<content:encoded><![CDATA[<p>Hello, I have just come across your blog whilst browsing on online as I&#8217;m seeking some material on engine lifts!. It is a good blog so I have bookmarked you and will revisit another day to give it a more detailed look when I have more time.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: BadGirl36</title>
		<link>http://khason.net/blog/auto-scroll-listbox-in-wpf/comment-page-1/#comment-3403</link>
		<dc:creator>BadGirl36</dc:creator>
		<pubDate>Fri, 23 Oct 2009 01:04:10 +0000</pubDate>
		<guid isPermaLink="false">http://khason.net/blog/auto-scroll-listbox-in-wpf/#comment-3403</guid>
		<description>Validate the length of every     buffer before accessing it. ,</description>
		<content:encoded><![CDATA[<p>Validate the length of every     buffer before accessing it. ,</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tamir</title>
		<link>http://khason.net/blog/auto-scroll-listbox-in-wpf/comment-page-1/#comment-2707</link>
		<dc:creator>Tamir</dc:creator>
		<pubDate>Thu, 05 Feb 2009 14:49:34 +0000</pubDate>
		<guid isPermaLink="false">http://khason.net/blog/auto-scroll-listbox-in-wpf/#comment-2707</guid>
		<description>Yes, this is my fault. But you not really need the source, all necessary information is in the article.</description>
		<content:encoded><![CDATA[<p>Yes, this is my fault. But you not really need the source, all necessary information is in the article.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shaun Venus</title>
		<link>http://khason.net/blog/auto-scroll-listbox-in-wpf/comment-page-1/#comment-2705</link>
		<dc:creator>Shaun Venus</dc:creator>
		<pubDate>Thu, 05 Feb 2009 10:14:37 +0000</pubDate>
		<guid isPermaLink="false">http://khason.net/blog/auto-scroll-listbox-in-wpf/#comment-2705</guid>
		<description>Is the source available so I can try this out?

I see the &#039;Source code for this article is attached&#039; text but no link.</description>
		<content:encoded><![CDATA[<p>Is the source available so I can try this out?</p>
<p>I see the &#8216;Source code for this article is attached&#8217; text but no link.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

