Skip to main content
Tab

DropboxFileSystemProvider.GetThumbnail(FileManagerFile) Method

Provides file manager files with custom thumbnails.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v23.2.dll

NuGet Package: DevExpress.Web

Declaration

public override Stream GetThumbnail(
    FileManagerFile file
)

Parameters

Name Type Description
file FileManagerFile

A FileManagerFile object that is the processed 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 DropboxFileSystemProvider 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