Back to Devexpress

WinExplorerView.ClearAsyncImageLoadCache() Method

windowsforms-devexpress-dot-xtragrid-dot-views-dot-winexplorer-dot-winexplorerview-a440f98f.md

latest2.3 KB
Original Source

WinExplorerView.ClearAsyncImageLoadCache() Method

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

Namespace : DevExpress.XtraGrid.Views.WinExplorer

Assembly : DevExpress.XtraGrid.v25.2.dll

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

Declaration

csharp
public void ClearAsyncImageLoadCache()
vb
Public Sub ClearAsyncImageLoadCache

Remarks

When a WinExplorerView loads thumbnail images asynchronously, it can automatically cache them if the WinExplorerViewOptionsImageLoad.CacheThumbnails property is set to true. Use the ClearAsyncImageLoadCache method to clear the image cache.

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

Asynchronous Image Load in Data Grid

WinExplorerView Class

WinExplorerView Members

DevExpress.XtraGrid.Views.WinExplorer Namespace