Skip to main content

WinExplorerView.ClearAsyncImageLoadCache(Int32) Method

Removes an image loaded for a specific row from the cache.

Namespace: DevExpress.XtraGrid.Views.WinExplorer

Assembly: DevExpress.XtraGrid.v23.2.dll

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

Declaration

public void ClearAsyncImageLoadCache(
    int rowHandle
)

Parameters

Name Type Description
rowHandle Int32

An Int32 value that is the row handle for a data record, whose cached thumbnail image should be removed.

Remarks

When a WinExplorerView loads thumbnail images asynchronously, it can automatically cache them if the WinExplorerViewOptionsImageLoad.CacheThumbnails property equals true. Such cached images can be removed automatically on data source updates (see the WinExplorerViewOptionsImageLoad.ClearCacheOnDataSourceUpdate property) or on demand when the ClearAsyncImageLoadCache method is called.

If no row handle has been passed to the ClearAsyncImageLoadCache method as a parameter, all cached thumbnail images are removed.

See Also