ImageGear .NET v25.1 - Updated
CacheItemContainers Property (ImGearThumbnailList)




ImageGear.Windows.Controls Assembly > ImageGear.Windows.Controls Namespace > ImGearThumbnailList 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 ImGearThumbnailList
Dim value As Boolean
 
instance.CacheItemContainers = value
 
value = instance.CacheItemContainers
public bool CacheItemContainers {get; set;}
public: __property bool get_CacheItemContainers();
public: __property void set_CacheItemContainers( 
   bool value
);
public:
property bool CacheItemContainers {
   bool get();
   void set (    bool value);
}

Property Value

Boolean value.
Remarks

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

Reference

ImGearThumbnailList Class
ImGearThumbnailList Members