High-Performance Rendering with ListView and GridView
The preceding chapter mentioned that the item containers for ListView
and GridView
use simple default control templates to significantly improve load time. In addition to this, two features significantly improve the perceived performance of ListView
/GridView
scrolling. One is trivial to take advantage of, but one requires work on your end. These are not technically related to data binding, but data binding is usually involved when you’re dealing with displaying large collections of objects.
The first feature is called scrolling placeholders. By setting the ShowsScrollingPlaceholders
property (defined by ListViewBase
) to true
, the control will show placeholders whenever the user is scrolling ...
Get Universal Windows® Apps with XAML and C# Unleashed now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.