Skip to main content

FileManagerSettings.CustomThumbnail Property

Occurs each time before a thumbnail is created.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v23.2.dll

NuGet Package: DevExpress.Web.Mvc5

Declaration

public FileManagerThumbnailCreateEventHandler CustomThumbnail { get; set; }

Property Value

Type Description
FileManagerThumbnailCreateEventHandler

A FileManagerThumbnailCreateEventHandler delegate method allowing you to provide a custom thumbnail.

Remarks

The CustomThumbnail event enables you to provide a custom thumbnail. Within the event’s handler, the currently processed file can be accessed by using the FileManagerThumbnailCreateEventArgs.Item property, and a custom thumbnail can be defined for the file via the FileManagerThumbnailCreateEventArgs.ThumbnailImage property.

For more information, see the Thumbnails topic.

See Also