windowsforms-devexpress-dot-xtragrid-dot-winexplorer-dot-winexplorerviewoptionsimageload-2eba7408.md
Gets or sets whether items should load their images from an image source when these images need to be loaded asynchronously.
Namespace : DevExpress.XtraGrid.WinExplorer
Assembly : DevExpress.XtraGrid.v25.2.dll
NuGet Packages : DevExpress.Win.Grid, DevExpress.Win.Navigation
[DefaultValue(true)]
public bool LoadThumbnailImagesFromDataSource { get; set; }
<DefaultValue(True)>
Public Property LoadThumbnailImagesFromDataSource As Boolean
| Type | Default | Description |
|---|---|---|
| Boolean | true |
true if items should load their images from an image source when these images need to be loaded asynchronously; otherwise, false.
|
You can access this nested property as listed below:
| Object Type | Path to LoadThumbnailImagesFromDataSource |
|---|---|
| WinExplorerView |
.OptionsImageLoad .LoadThumbnailImagesFromDataSource
|
If the WinExplorerViewOptionsImageLoad.AsyncLoad property is set to true , grid items support asynchronous image load. The LoadThumbnailImagesFromDataSource property specifies whether these images should be loaded from the grid columns assigned through the WinExplorerView.ColumnSet section, or passed manually on the WinExplorerView.GetThumbnailImage event. See the Asynchronous Image Load in Data Grid topic to learn more.
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the LoadThumbnailImagesFromDataSource 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#L40
winExplorerView1.OptionsImageLoad.CacheThumbnails = true;
winExplorerView1.OptionsImageLoad.LoadThumbnailImagesFromDataSource = false;
winExplorerView1.OptionsImageLoad.AsyncLoad = true;
office-file-api-create-thumbnail-images-for-docx-xlsx-pdf-files/VB/Form1.vb#L34
winExplorerView1.OptionsImageLoad.CacheThumbnails = True
winExplorerView1.OptionsImageLoad.LoadThumbnailImagesFromDataSource = False
winExplorerView1.OptionsImageLoad.AsyncLoad = True
See Also
Asynchronous Image Load in Data Grid
WinExplorerViewOptionsImageLoad Class