windowsforms-devexpress-dot-xtragrid-dot-winexplorer-dot-winexplorerviewoptionsimageload-91b3aef9.md
Gets or sets whether or not asynchronously loaded item images should be cached.
Namespace : DevExpress.XtraGrid.WinExplorer
Assembly : DevExpress.XtraGrid.v25.2.dll
NuGet Packages : DevExpress.Win.Grid, DevExpress.Win.Navigation
[DefaultValue(true)]
public bool CacheThumbnails { get; set; }
<DefaultValue(True)>
Public Property CacheThumbnails As Boolean
| Type | Default | Description |
|---|---|---|
| Boolean | true |
true if asynchronously loaded item images should be cached; otherwise, false.
|
You can access this nested property as listed below:
| Object Type | Path to CacheThumbnails |
|---|---|
| WinExplorerView |
.OptionsImageLoad .CacheThumbnails
|
Cached thumbnail images do not need to be re-loaded each time they are displayed. Once these images are loaded, they remain available when an end-user scrolls through the View or switches the View to another style (the WinExplorerViewOptionsView.Style property).
See Asynchronous Image Load in Data Grid for details.
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the CacheThumbnails property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
office-file-api-create-thumbnail-images-for-docx-xlsx-pdf-files/CS/Form1.cs#L39
{
winExplorerView1.OptionsImageLoad.CacheThumbnails = true;
winExplorerView1.OptionsImageLoad.LoadThumbnailImagesFromDataSource = false;
office-file-api-create-thumbnail-images-for-docx-xlsx-pdf-files/VB/Form1.vb#L33
Private Sub InitViewSettings()
winExplorerView1.OptionsImageLoad.CacheThumbnails = True
winExplorerView1.OptionsImageLoad.LoadThumbnailImagesFromDataSource = False
See Also
Asynchronous Image Load in Data Grid
WinExplorerViewOptionsImageLoad Class