Back to Devexpress

WinExplorerViewOptionsImageLoad.LoadThumbnailImagesFromDataSource Property

windowsforms-devexpress-dot-xtragrid-dot-winexplorer-dot-winexplorerviewoptionsimageload-2eba7408.md

latest4.4 KB
Original Source

WinExplorerViewOptionsImageLoad.LoadThumbnailImagesFromDataSource Property

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

Declaration

csharp
[DefaultValue(true)]
public bool LoadThumbnailImagesFromDataSource { get; set; }
vb
<DefaultValue(True)>
Public Property LoadThumbnailImagesFromDataSource As Boolean

Property Value

TypeDefaultDescription
Booleantrue

true if items should load their images from an image source when these images need to be loaded asynchronously; otherwise, false.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to LoadThumbnailImagesFromDataSource
WinExplorerView

.OptionsImageLoad .LoadThumbnailImagesFromDataSource

|

Remarks

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

csharp
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

vb
winExplorerView1.OptionsImageLoad.CacheThumbnails = True
winExplorerView1.OptionsImageLoad.LoadThumbnailImagesFromDataSource = False
winExplorerView1.OptionsImageLoad.AsyncLoad = True

See Also

Asynchronous Image Load in Data Grid

WinExplorerViewOptionsImageLoad Class

WinExplorerViewOptionsImageLoad Members

DevExpress.XtraGrid.WinExplorer Namespace