Back to Devexpress

FileSystemProviderBase.GetThumbnailUrl(FileManagerFile) Method

aspnet-devexpress-dot-web-dot-filesystemproviderbase-dot-getthumbnailurl-x28-devexpress-dot-web-dot-filemanagerfile-x29.md

latest2.5 KB
Original Source

FileSystemProviderBase.GetThumbnailUrl(FileManagerFile) Method

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

Namespace : DevExpress.Web

Assembly : DevExpress.Web.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
public virtual string GetThumbnailUrl(
    FileManagerFile file
)
vb
Public Overridable Function GetThumbnailUrl(
    file As FileManagerFile
) As String

Parameters

NameTypeDescription
fileFileManagerFile

A FileManagerFile object that is the copied file.

|

Returns

TypeDescription
String

A String value that is the URL of the current file’s thumbnail.

|

Remarks

If you create a custom file system provider inherited from the FileSystemProviderBase class, you can override the GetThumbnailUrl 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

File System Providers

File Manager

Thumbnails

FileSystemProviderBase Class

FileSystemProviderBase Members

DevExpress.Web Namespace