TileView.GetThumbnailImage Event

Occurs whenever a tile within this TileView needs to load its background image asynchronously and allows you to manually pass the desired image.

Namespace: DevExpress.XtraGrid.Views.Tile

Assembly: DevExpress.XtraGrid.v20.1.dll


public event ThumbnailImageEventHandler GetThumbnailImage
Public Event GetThumbnailImage As ThumbnailImageEventHandler

Event Data

The GetThumbnailImage event's data class is ThumbnailImageEventArgs. The following properties provide information specific to this event:

Property Description
DataSourceIndex Gets the index of the currently processed item among other items in the source (the item's index in the bound data source for data-aware controls, e.g., GridControl).
DesiredThumbnailSize Stores the desired size of thumbnail images, generated using the ThumbnailImageEventArgs.CreateThumbnailImage method.
ThumbnailImage Gets or sets the image that will be assigned to an item that fired this event.


See the TileView.OptionsImageLoad property to learn more.


The GetThumbnailImage event is raised from a non-UI thread.

See Also