ImageGear .NET - Updated March 30, 2018
CacheItemContainers Property (ImGearVirtualizingWrapPanel)




ImageGear24.Windows.Controls Assembly > ImageGear.Windows.Controls Namespace > ImGearVirtualizingWrapPanel Class : CacheItemContainers Property
Gets or sets a value indicating whether item containers that are out of view are cached.
Syntax
'Declaration
 
Public Property CacheItemContainers As Boolean
 
'Usage
 
Dim instance As ImGearVirtualizingWrapPanel
Dim value As Boolean
 
instance.CacheItemContainers = value
 
value = instance.CacheItemContainers

Property Value

Boolean value.
Remarks

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.
See Also

Reference

ImGearVirtualizingWrapPanel Class
ImGearVirtualizingWrapPanel Members