Skip to main content

WinExplorerView.ClearAsyncImageLoadCache() Method

Forces the WinExplorerView to remove all asynchronously loaded images from the cache.

Namespace: DevExpress.XtraGrid.Views.WinExplorer

Assembly: DevExpress.XtraGrid.v23.1.dll

NuGet Package: DevExpress.Win.Grid


public void ClearAsyncImageLoadCache()


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.

You can also remove cached images for individual records only. To do so, pass a row handle of the desired row to the WinExplorerView.ClearAsyncImageLoadCache method as a parameter.

See Also