ImageGear23.Windows.Controls Assembly > ImageGear.Windows.Controls Namespace > ImGearThumbnailList Class : CacheItemContainers Property |
'Declaration Public Property CacheItemContainers As Boolean
'Usage Dim instance As ImGearThumbnailList Dim value As Boolean instance.CacheItemContainers = value value = instance.CacheItemContainers
public bool CacheItemContainers {get; set;}
In the default items panel this property is bound to the CacheItemContainers property of an ImGearVirtualizingWrapPanel and affects how item containers are used after being generated. When set to false, the generated thumbnail images are cached and the containers for generated items are destroyed when thumbnail items are scrolled out of view. When scrolled back into view, a thumbnail item's container is regenerated and the view element is set to the cached thumbnail page. This option uses less memory but there is a small delay when displaying cached thumbnails that are scrolled back into view. When set to true, the containers for generated items are not destroyed when thumbnail items are scrolled out of view, which uses more memory but thumbnails that have already been generated are displayed immediately when scrolled back into view.
The default value is true.