<?xml version="1.0" encoding="iso-8859-1"?><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: WPF ListBox Virtualization</title>
	<atom:link href="http://bignickolson.com/2009/05/02/wpf-listbox-virtualization/feed/" rel="self" type="application/rss+xml" />
	<link>http://bignickolson.com/2009/05/02/wpf-listbox-virtualization/</link>
	<description>...my blog on what I&#039;m learning, working, or playing with in technology</description>
	<lastBuildDate>Wed, 16 May 2012 12:50:15 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: Saurabh Dighade</title>
		<link>http://bignickolson.com/2009/05/02/wpf-listbox-virtualization/comment-page-1/#comment-1347</link>
		<dc:creator>Saurabh Dighade</dc:creator>
		<pubDate>Fri, 02 Sep 2011 13:45:30 +0000</pubDate>
		<guid isPermaLink="false">http://blog.bignickolson.com/2009/05/02/wpf-listbox-virtualization/#comment-1347</guid>
		<description>Hi Nick,

I have used something similar you mentioned above i.e. Nested observable 
collection.

For example say
I have an observable collection of ObservableCollection and Each day is in Turn is an ObservableCollection
The way I have represented this in a horizontal Listbox of Day as Column which is Virtualized with  VirtualizationMode set to Recycling (Call it a DayListBOX).
Each Day i.e. column is another List box of appointments (call it a AppointmentListbox)

Now I scroll to say 15th day and I delete and appointment from day 1 in the AppointmentListbox. The DayListBOX scrolls back to the 1st Day.

I tried getting the Verticaloffset and the horizontaloffset of the DayListBOX and after deleting an appointment tried setting it back but doesn</description>
		<content:encoded><![CDATA[<p>Hi Nick,</p>
<p>I have used something similar you mentioned above i.e. Nested observable<br />
collection.</p>
<p>For example say<br />
I have an observable collection of ObservableCollection and Each day is in Turn is an ObservableCollection<br />
The way I have represented this in a horizontal Listbox of Day as Column which is Virtualized with  VirtualizationMode set to Recycling (Call it a DayListBOX).<br />
Each Day i.e. column is another List box of appointments (call it a AppointmentListbox)</p>
<p>Now I scroll to say 15th day and I delete and appointment from day 1 in the AppointmentListbox. The DayListBOX scrolls back to the 1st Day.</p>
<p>I tried getting the Verticaloffset and the horizontaloffset of the DayListBOX and after deleting an appointment tried setting it back but doesn</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nick</title>
		<link>http://bignickolson.com/2009/05/02/wpf-listbox-virtualization/comment-page-1/#comment-270</link>
		<dc:creator>Nick</dc:creator>
		<pubDate>Mon, 15 Feb 2010 18:52:45 +0000</pubDate>
		<guid isPermaLink="false">http://blog.bignickolson.com/2009/05/02/wpf-listbox-virtualization/#comment-270</guid>
		<description>Unfortunately, some of the stuff I do is under NDA for clients, but the concept is simple.  Have an ObservableCollection&lt;ObservableCollection&lt;YourItem&gt;&gt;  and bind the list of lists to your ListBox.  Then create two datatemplates, one for showing the list of items in each row as a ItemsControl or something similar, and the second to actually template the individual items.

I wrote a class to abstract some logic that you could pass in a collection and a number of &quot;columns&quot; and it would split up a list for you into a list of lists automatically, but it&#039;s certainly doable manually for small scenarios</description>
		<content:encoded><![CDATA[<p>Unfortunately, some of the stuff I do is under NDA for clients, but the concept is simple.  Have an ObservableCollection&lt;ObservableCollection&lt;YourItem&gt;&gt;  and bind the list of lists to your ListBox.  Then create two datatemplates, one for showing the list of items in each row as a ItemsControl or something similar, and the second to actually template the individual items.</p>
<p>I wrote a class to abstract some logic that you could pass in a collection and a number of &#8220;columns&#8221; and it would split up a list for you into a list of lists automatically, but it&#8217;s certainly doable manually for small scenarios</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brian Vallelunga</title>
		<link>http://bignickolson.com/2009/05/02/wpf-listbox-virtualization/comment-page-1/#comment-269</link>
		<dc:creator>Brian Vallelunga</dc:creator>
		<pubDate>Mon, 15 Feb 2010 18:35:32 +0000</pubDate>
		<guid isPermaLink="false">http://blog.bignickolson.com/2009/05/02/wpf-listbox-virtualization/#comment-269</guid>
		<description>I&#039;m doing the exact same thing you are with a little personal application and found your post on this subject.

Any chance you&#039;ll release the code to your multi-column view you created?</description>
		<content:encoded><![CDATA[<p>I&#8217;m doing the exact same thing you are with a little personal application and found your post on this subject.</p>
<p>Any chance you&#8217;ll release the code to your multi-column view you created?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sergey</title>
		<link>http://bignickolson.com/2009/05/02/wpf-listbox-virtualization/comment-page-1/#comment-203</link>
		<dc:creator>Sergey</dc:creator>
		<pubDate>Sun, 03 May 2009 13:54:26 +0000</pubDate>
		<guid isPermaLink="false">http://blog.bignickolson.com/2009/05/02/wpf-listbox-virtualization/#comment-203</guid>
		<description>If ListBox is inside a vertically unconstrained control, your virtualization will dissapear because ListBox thinks it has unlimited amount of space for its rows.  Example: put listbox inside vertical stack panel.</description>
		<content:encoded><![CDATA[<p>If ListBox is inside a vertically unconstrained control, your virtualization will dissapear because ListBox thinks it has unlimited amount of space for its rows.  Example: put listbox inside vertical stack panel.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

