Tech Tock

Time is of the essence.

Another Thing about WPF Virtualization

Just a little follow-up to my virtualization post from the other day.  WPF virtualization works great. I had it working horizontally and vertically at the same time and with synchronized scrolling controls.

To do horizontal and vertical, just make a vertical items list and for each item, make it a horizontal list.  Works straight out of the box.


Make sure your virtualized control isn’t wrapped in a scrollbar.  Even if its 3 controls outside, if a scrollbar is giving unlimited space to an ItemsControl you want to virtualize, it won’t work. A virtualizing control needs to be width (or height for vertical) constrained. I’d also bet that virtualization in a Canvas without setting a width on your ItemsControl would fail for the same reason, it just goes on and on.


January 14, 2013 - Posted by | Uncategorized | ,

No comments yet.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: