ImageGear .NET v25.2 - Updated
CacheItemContainers Property (ImGearVirtualizingWrapPanel)




ImageGear.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
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

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

Is this page helpful?
Yes No
Thanks for your feedback.