Skip to main content
Tab

FileSystemProviderBase.GetThumbnail(FileManagerFile) Method

Override this method to provide file manager files with custom thumbnails.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

public virtual Stream GetThumbnail(
    FileManagerFile file
)

Parameters

Name Type Description
file FileManagerFile

A FileManagerFile object that is the copied file.

Returns

Type Description
Stream

A Stream object that is the current file’s thumbnail.

Remarks

If you create a custom file system provider inherited from the FileSystemProviderBase class, you can override the GetThumbnail method to provide file manager files with custom thumbnails at the provider level.

You can specify the provided file thumbnails using the ASPxFileManager.CustomThumbnail event as well. To learn more, see the Thumbnails topic.

See Also