Skip to main content
Tab

CloudFileSystemProviderBase.GetThumbnail(FileManagerFile) Method

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

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.2.dll

Declaration

public override 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 CloudFileSystemProviderBase 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