windowsforms-devexpress-dot-xtragrid-dot-views-dot-tile-dot-tileviewoptionsimageload-b4e75bd2.md
Gets or sets whether tile images should be loaded in random order.
Namespace : DevExpress.XtraGrid.Views.Tile
Assembly : DevExpress.XtraGrid.v25.2.dll
NuGet Packages : DevExpress.Win.Grid, DevExpress.Win.Navigation
[DefaultValue(true)]
public bool RandomShow { get; set; }
<DefaultValue(True)>
Public Property RandomShow As Boolean
| Type | Default | Description |
|---|---|---|
| Boolean | true |
true if tile images should be loaded in random order; otherwise, false.
|
You can access this nested property as listed below:
| Object Type | Path to RandomShow |
|---|---|
| TileView |
.OptionsImageLoad .RandomShow
|
During an asynchronous thumbnail image load, you can specify whether these images should be loaded in random order, or in the same order as their parent items appear. To select the desired behavior, use the RandomShow property.
Refer to 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 RandomShow 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#L29
tileView1.ColumnSet.BackgroundImageColumn = colName;
tileView1.OptionsImageLoad.RandomShow = true;
tileView1.OptionsImageLoad.LoadThumbnailImagesFromDataSource = false;
winforms-grid-tileview-thumbnails-async-load/VB/TileView-ManualThumbs/Form1.vb#L26
tileView1.ColumnSet.BackgroundImageColumn = colName
tileView1.OptionsImageLoad.RandomShow = True
tileView1.OptionsImageLoad.LoadThumbnailImagesFromDataSource = False
See Also
Asynchronous Image Load in Data Grid
TileViewOptionsImageLoad Class