Skip to main content

MVCxHtmlEditorDocumentSelectorSettings.CustomThumbnail Property

Enables you to provide custom thumbnails in Document Selector.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v24.1.dll

NuGet Package: DevExpress.Web.Mvc5

Declaration

public FileManagerThumbnailCreateEventHandler CustomThumbnail { get; set; }

Property Value

Type Description
FileManagerThumbnailCreateEventHandler

An FileManagerThumbnailCreateEventHandler delegate method allowing you to implement custom processing.

Property Paths

You can access this nested property as listed below:

Object Type Path to CustomThumbnail
MVCxHtmlEditorInsertLinkDialogSettings
.SettingsDocumentSelector .CustomThumbnail

Remarks

The CustomThumbnail property enables you to provide a custom thumbnail. Within the delegate method, the currently processed item can be accessed by using the FileManagerThumbnailCreateEventArgs.Item property. If the parent folder is processed, the FileManagerThumbnailCreateEventArgs.IsParentFolder property returns true. To specify a custom thumbnail for the processed item, use the FileManagerThumbnailCreateEventArgs.ThumbnailImage property.

See Also