<?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/"
	xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Making a Virtualizing WrapPanel</title>
	<atom:link href="http://jerryclin.wordpress.com/2008/02/06/making-a-virtualizing-wrappanel/feed/" rel="self" type="application/rss+xml" />
	<link>http://jerryclin.wordpress.com/2008/02/06/making-a-virtualizing-wrappanel/</link>
	<description>Tips, tricks, and howto&#039;s for those &#34;WTF?&#34; moments in WPF</description>
	<lastBuildDate>Thu, 09 Jul 2009 11:10:16 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: renovatio1510</title>
		<link>http://jerryclin.wordpress.com/2008/02/06/making-a-virtualizing-wrappanel/#comment-25</link>
		<dc:creator>renovatio1510</dc:creator>
		<pubDate>Thu, 22 Jan 2009 15:20:24 +0000</pubDate>
		<guid isPermaLink="false">http://jerryclin.wordpress.com/?p=20#comment-25</guid>
		<description>I followed the Dan guide for the virtualization. I started implementing an uniform grid (tile panel). Anyway i&#039;m not able to calculate the extent, cause the set of children of the panel is dynamically changed by the panel itself, who asks the ItemContainerGenerator to build/dispose the containers. At every moment, the set of children of the panel contains only (the containers for) the realized items (right?)

Anyway, to calculate the size of the extent (to enable scrolling) the panel should know the total number of the items (realized and virtualized).

Any help?</description>
		<content:encoded><![CDATA[<p>I followed the Dan guide for the virtualization. I started implementing an uniform grid (tile panel). Anyway i&#8217;m not able to calculate the extent, cause the set of children of the panel is dynamically changed by the panel itself, who asks the ItemContainerGenerator to build/dispose the containers. At every moment, the set of children of the panel contains only (the containers for) the realized items (right?)</p>
<p>Anyway, to calculate the size of the extent (to enable scrolling) the panel should know the total number of the items (realized and virtualized).</p>
<p>Any help?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jerry Lin</title>
		<link>http://jerryclin.wordpress.com/2008/02/06/making-a-virtualizing-wrappanel/#comment-24</link>
		<dc:creator>Jerry Lin</dc:creator>
		<pubDate>Mon, 12 Jan 2009 13:41:30 +0000</pubDate>
		<guid isPermaLink="false">http://jerryclin.wordpress.com/?p=20#comment-24</guid>
		<description>Hi Jonathan,

Right, the panel will keep consuming memory until you&#039;ve loaded all your items into it. I admit it&#039;s not the ideal way to do things, yet at the time of this article, the items I were loading were from disk, and wanted to avoid having to constantly read from the hard drive from loading and unloading the items. After I wrote the article, I was assigned to other areas of my project not having to do with WPF, so it&#039;s with regret that I haven&#039;t had the chance to explore a possible better solution.

Fortunately, we had a major release last week, so I now have some free time. Thanks for asking, I will try to explore better solutions and get them posted if I find any :-)

Jerry</description>
		<content:encoded><![CDATA[<p>Hi Jonathan,</p>
<p>Right, the panel will keep consuming memory until you&#8217;ve loaded all your items into it. I admit it&#8217;s not the ideal way to do things, yet at the time of this article, the items I were loading were from disk, and wanted to avoid having to constantly read from the hard drive from loading and unloading the items. After I wrote the article, I was assigned to other areas of my project not having to do with WPF, so it&#8217;s with regret that I haven&#8217;t had the chance to explore a possible better solution.</p>
<p>Fortunately, we had a major release last week, so I now have some free time. Thanks for asking, I will try to explore better solutions and get them posted if I find any <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>Jerry</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jweizman</title>
		<link>http://jerryclin.wordpress.com/2008/02/06/making-a-virtualizing-wrappanel/#comment-23</link>
		<dc:creator>jweizman</dc:creator>
		<pubDate>Mon, 12 Jan 2009 09:35:53 +0000</pubDate>
		<guid isPermaLink="false">http://jerryclin.wordpress.com/?p=20#comment-23</guid>
		<description>Hi Jerry

I&#039;m trying to implement such a panel using your advices.

I have a question:
*If you do not clean the items after you scroll, then the more your scroll the more memory to consume ? Isn&#039;t it ?

Thanks
Jonathan</description>
		<content:encoded><![CDATA[<p>Hi Jerry</p>
<p>I&#8217;m trying to implement such a panel using your advices.</p>
<p>I have a question:<br />
*If you do not clean the items after you scroll, then the more your scroll the more memory to consume ? Isn&#8217;t it ?</p>
<p>Thanks<br />
Jonathan</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: laduran</title>
		<link>http://jerryclin.wordpress.com/2008/02/06/making-a-virtualizing-wrappanel/#comment-16</link>
		<dc:creator>laduran</dc:creator>
		<pubDate>Thu, 26 Jun 2008 20:52:08 +0000</pubDate>
		<guid isPermaLink="false">http://jerryclin.wordpress.com/?p=20#comment-16</guid>
		<description>Jerry,

Thanks for writing this! This is a really good article and will help me implement what I need. I need to create a StackPanel (could be a wrap panel) that will implement scrolling in a different way than normal.  Our designer thought it would be a good idea if our program didn&#039;t have any scroll bars. Luckily we don&#039;t have lots of data that needs to be shown in any given stack panel ... Just more controls.

Stack panels that have more content than can fit into the scroll viewer will have buttons at the top and bottom. If the user wishes to scroll down, they hit a &quot;Page Down&quot; button. This will cause all the elements in the current view that are visible to fade out, then the elements that are under the last fully visible element will slide up into view. The opposite will occur if the user tries to page up.

I don&#039;t need to worry about virtualizing visuals since the number of child controls in my panel will be always be small (under 10). The one concern I have is that I will be able to perform two different Animations in the ArrangeOverride function. Maybe I just need to fade the visible items out in the IScrollInfo.PageDown function and then translate the items into view in the ArrangeOverride function.

My biggest concern is being able to determine what child controls are visible in the scrollviewer and which are not. Is there an easy way to determine this?

Thanks,
Louis</description>
		<content:encoded><![CDATA[<p>Jerry,</p>
<p>Thanks for writing this! This is a really good article and will help me implement what I need. I need to create a StackPanel (could be a wrap panel) that will implement scrolling in a different way than normal.  Our designer thought it would be a good idea if our program didn&#8217;t have any scroll bars. Luckily we don&#8217;t have lots of data that needs to be shown in any given stack panel &#8230; Just more controls.</p>
<p>Stack panels that have more content than can fit into the scroll viewer will have buttons at the top and bottom. If the user wishes to scroll down, they hit a &#8220;Page Down&#8221; button. This will cause all the elements in the current view that are visible to fade out, then the elements that are under the last fully visible element will slide up into view. The opposite will occur if the user tries to page up.</p>
<p>I don&#8217;t need to worry about virtualizing visuals since the number of child controls in my panel will be always be small (under 10). The one concern I have is that I will be able to perform two different Animations in the ArrangeOverride function. Maybe I just need to fade the visible items out in the IScrollInfo.PageDown function and then translate the items into view in the ArrangeOverride function.</p>
<p>My biggest concern is being able to determine what child controls are visible in the scrollviewer and which are not. Is there an easy way to determine this?</p>
<p>Thanks,<br />
Louis</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jerry Lin: Drag drop of images in office, virtualized wrap panel, etc... - Rob Relyea</title>
		<link>http://jerryclin.wordpress.com/2008/02/06/making-a-virtualizing-wrappanel/#comment-12</link>
		<dc:creator>Jerry Lin: Drag drop of images in office, virtualized wrap panel, etc... - Rob Relyea</dc:creator>
		<pubDate>Thu, 20 Mar 2008 10:53:23 +0000</pubDate>
		<guid isPermaLink="false">http://jerryclin.wordpress.com/?p=20#comment-12</guid>
		<description>[...] from a major software company about Virtualizing WrapPanel...looks like Jerry did that too: &quot;Making a Virtualizing WrapPanel&quot;.&#160; (no code, but he helps explain more about how to do [...]</description>
		<content:encoded><![CDATA[<p>[...] from a major software company about Virtualizing WrapPanel&#8230;looks like Jerry did that too: &quot;Making a Virtualizing WrapPanel&quot;.&#160; (no code, but he helps explain more about how to do [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
