windowsforms-devexpress-dot-xtragrid-dot-views-dot-tile-dot-tileviewoptionsimageload.md
Gets or sets whether images for View tiles are loaded asynchronously.
Namespace : DevExpress.XtraGrid.Views.Tile
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 tiles are loaded asynchronously; otherwise, false.
|
You can access this nested property as listed below:
| Object Type | Path to AsyncLoad |
|---|---|
| TileView |
.OptionsImageLoad .AsyncLoad
|
You can set the AsyncLoad property to true to load tile images asynchronously with all the other data. This allows you to avoid freezes at the application start-up, which are possible if tile 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.
winforms-grid-tileview-thumbnails-async-load/CS/TileView-ManualThumbs/Form1.cs#L32
// Enable async image load.
tileView1.OptionsImageLoad.AsyncLoad = true;
}
winforms-grid-tileview-thumbnails-async-load/VB/TileView-ManualThumbs/Form1.vb#L29
' Enable async image load.
tileView1.OptionsImageLoad.AsyncLoad = True
End Sub
See Also
Asynchronous Image Load in Data Grid
TileViewOptionsImageLoad Class