Back to Devexpress

WinExplorerView.ResetThumbnailCache() Method

windowsforms-devexpress-dot-xtragrid-dot-views-dot-winexplorer-dot-winexplorerview-1b03e818.md

latest2.3 KB
Original Source

WinExplorerView.ResetThumbnailCache() Method

Removes all cached thumbnails for this WinExplorerView‘s items.

Namespace : DevExpress.XtraGrid.Views.WinExplorer

Assembly : DevExpress.XtraGrid.v25.2.dll

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

Declaration

csharp
[EditorBrowsable(EditorBrowsableState.Never)]
public void ResetThumbnailCache()
vb
<EditorBrowsable(EditorBrowsableState.Never)>
Public Sub ResetThumbnailCache

Remarks

When WinExplorerView items load their images asynchronously, you have a choice to either keep previously loaded images cached, or re-load images each time an item needs to be displayed. To specify the desired behavior, use the WinExplorerViewOptionsImageLoad.CacheThumbnails property. The ResetThumbnailCache method forces the cache clean-up regardless of the WinExplorerViewOptionsImageLoad.CacheThumbnails property value. See the Asynchronous Image Load in Data Grid topic to learn more.

See Also

Asynchronous Image Load in Data Grid

WinExplorerView Class

WinExplorerView Members

DevExpress.XtraGrid.Views.WinExplorer Namespace