WPFwiki, wpf, wiki, .net 3.0, windows presentation foundation, FAQ, free resources, solution, development, microsoft Home of the world's largest WPF FAQ
Edit

Category

Controls

Edit

Question

What is UI Virtualization?

Edit

Answer

UI Virtualization is a concept where UI Elements are only created and maintained when they are visible on the screen.

UI Virtualization is particularly meaningful when displaying a large list of items, such as the content of a database. For example, consider a 50,000-entry database: populating a ListBox with 50,000 UI Elements would have extremely low performance. Instead, by virtualizing all elements that are not visible (scrolled outside of view), only a small subset of the 50,000 entries needs to be created and maintained.

The concept of UI Virtualization in WPF is currently only implemented in the ItemsControl base class.

To accomplish proper UI Virtualization, the ItemsControl class relies on the ItemContainerGenerator interface/class. When used in conjunction with a virtualizing Panel, the ItemContainerGenerator allows UI elements to be created and destroyed as they are required.

Edit

Keywords

VirtualizingPanel, VirtualizingStackPanel restaurants Leeds

reefer jackets dog facts amsterdam blogo fotocamere emma2 ricette ioblogo splinder pisica titiblog blogsmecher oaiebeata 20six curca blog2blog blink sarmale trabant http://remediialternative.wordpress.com/ peste obez mirel titibarbosu bepp ceva remedii

All content is Copyright ©2007 Xceed Software Inc. unless otherwise indicated. See the Terms of Service. Contributors must read and agree to the Contribution Policy. WPFwiki is brought to you by Xceed, makers of the powerful yet free Xceed DataGrid for WPF.