windowsforms-devexpress-dot-xtragrid-dot-winexplorer-dot-winexplorerviewoptionsimageload.md
Gets or sets whether images for View items should be loaded asynchronously.
Namespace : DevExpress.XtraGrid.WinExplorer
Assembly : DevExpress.XtraGrid.v25.2.dll
NuGet Packages : DevExpress.Win.Grid, DevExpress.Win.Navigation
[DefaultValue(false)]
public bool AsyncLoad { get; set; }
<DefaultValue(False)>
Public Property AsyncLoad As Boolean
| Type | Default | Description |
|---|---|---|
| Boolean | false |
true if images for View items should be loaded asynchronously; otherwise, false.
|
You can access this nested property as listed below:
| Object Type | Path to AsyncLoad |
|---|---|
| WinExplorerView |
.OptionsImageLoad .AsyncLoad
|
You can set the AsyncLoad property to true to load item images asynchronously. This allows you to avoid freezes at the application start-up, which are possible if item images are sufficiently heavy. See the Asynchronous Image Load in Data Grid topic for details.
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the AsyncLoad 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#L41
winExplorerView1.OptionsImageLoad.LoadThumbnailImagesFromDataSource = false;
winExplorerView1.OptionsImageLoad.AsyncLoad = true;
winExplorerView1.OptionsView.Style = DevExpress.XtraGrid.Views.WinExplorer.WinExplorerViewStyle.ExtraLarge;
office-file-api-create-thumbnail-images-for-docx-xlsx-pdf-files/VB/Form1.vb#L35
winExplorerView1.OptionsImageLoad.LoadThumbnailImagesFromDataSource = False
winExplorerView1.OptionsImageLoad.AsyncLoad = True
winExplorerView1.OptionsView.Style = DevExpress.XtraGrid.Views.WinExplorer.WinExplorerViewStyle.ExtraLarge
See Also
Asynchronous Image Load in Data Grid
WinExplorerViewOptionsImageLoad Class