Thumbnail View Resource
Source

blogs.msdn.com, posted 2006-02-13

Added By

Avatar BillHenn on 2010-05-25

Vitals
0score
  • 7521 total views
Summary
A discussion on using IItemContainerGenerator when building a custom VirtualizingPanel.
Excerpt
"In part 1 of this series of posts, I gave an overview of how to write a VirtualizingPanel. One of the keys to the implementation is understanding IItemContainerGenerator. I personally found it a bit nonintuitive to begin with. IItemContainerGenerator will not only help us generate (realize) and destroy (virtualize) the items, but we'll also use it to track the mapping of child indices to item indices through the GeneratorPosition. The easiest way to see how this works is to step through an example of using it. For this example, I created a simple Avalon application that had an ItemsControl bound to 5 integers and used a custom VirtualizingPanel subclass as the ItemsPanelTemplate for the ItemsControl. Then, I inserted some test code into MeasureOverride."
Full Link

http://blogs.msdn.com/b/dancre/archive/2006/02/13/531550.aspx

Comments 

There aren't any comments yet for this resource. Be the first to add one!

Add a Comment

Please log in to post comments.

Tags

Tasks

Thumbnail Screenshots by Thumbshots