Back to Devexpress

GridView.GetThumbnailImage Event

windowsforms-devexpress-dot-xtragrid-dot-views-dot-grid-dot-gridview-07ef94c3.md

latest2.0 KB
Original Source

GridView.GetThumbnailImage Event

Occurs when the View loads its images asynchronously and allows you to manually pass the required image to the current item.

Namespace : DevExpress.XtraGrid.Views.Grid

Assembly : DevExpress.XtraGrid.v25.2.dll

NuGet Packages : DevExpress.Win.Grid, DevExpress.Win.Navigation

Declaration

csharp
[DXCategory("CustomDraw")]
public event GridViewThumbnailImageEventHandler GetThumbnailImage
vb
<DXCategory("CustomDraw")>
Public Event GetThumbnailImage As GridViewThumbnailImageEventHandler

Event Data

The GetThumbnailImage event's data class is DevExpress.XtraGrid.Views.Grid.GridViewThumbnailImageEventArgs.

Remarks

The GetThumbnailImage event maintains asynchronous image loading. To turn this feature on, set the GridView.OptionsImageLoad.AsyncLoad property to true. See the Asynchronous Image Load topic to learn more.

Important

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

See Also

Asynchronous Image Load in Data Grid

OptionsImageLoad

GridView Class

GridView Members

DevExpress.XtraGrid.Views.Grid Namespace