ui-virtualization

Resources and guides to UI virtualization in WPF

UI Virtualization is an awkward terminology that describes WPF UI controls that load and and dispose child elements on demand (based on their visibility) to reduce memory footprint. ListBox and ListView use a class called VirtualizingStackPanel by default to achieve higher performance. I found this control, which is really helpful, a v...

WPF Performance: Displaying thousands of Paths / Shapes on a Canvas

I'm currently developing a visualization tool that draws WPF shapes such as paths, ellipses etc. on a Canvas. I've already implemented a virtualized approach where Shapes are being destroyed and created on the fly depending on their visibility. However, even with only like 600 ellipses visible, the application seems to struggle. What a...

Silverlight MediaElement and UI Virtualization

I have an application that contains many controls on a panel, each with its own MediaElement playing video. I have been looking into the new UI Virtualization features of Silverlight 3 to improve performance when scrolling through many of these controls in a smaller view port. From my experience, it is my understanding that any time a M...

Silverlight Virtualization Recycling Errors

I have the following XAML for Silverlight 3: <ItemsControl MaxHeight="400" VirtualizingStackPanel.VirtualizationMode="Recycling" > <ItemsControl.Template> <ScrollViewer> <ItemsPresenter /> </ScrollViwer> </ItemsControl.Template> <ItemsControl.ItemsPanel> <ItemsPanelTemplate> <Vi...

Android ListView Data Virtualization - Lazy Loading more than 10,000 items

Does anybody have an example of lazy loading (about 10,000 items) an Android ListView from a Sqlite databse? ...

Is there a (good/free) VirtualizingWrapPanel available for WPF?

I've found a couple of alternatives, this CodePlex project and this commercial one, but the former is extremely inefficient in my testing, and the latter, well, costs $$. I've also found this implementation, but it's not so much a WrapPanel as a "TilePanel", and doesn't support automatically-sized items (though it does appear to be fast)...

silverlight 4 - expander - UI virtualization

I have a silverlight application that is showing some data nested in expander control. So I have 1 expander for root element and then some textBoxes and expanders for content. All thing together looks like a big tree. And all works great with low number of elements to show. But when I have huge data (like 2000-20000 elements) to disp...

WPF toolkit Accordion control appears to not use UI Virtualizing. Is there a way to get it to use UI Virtualizing?

I am using the WPFToolkit Accordion control with the items in the accordion defined to be a TreeView. For context, here is the relevant part of the XAML: <ScrollViewer VerticalScrollBarVisibility="Auto" CanContentScroll="True"> <layoutToolkit:Accordion DockPanel.Dock="Bottom" HorizontalAlignment="Stretch" ...