MVCxHtmlEditorDocumentSelectorSettings.CustomThumbnail Property
Enables you to provide custom thumbnails in Document Selector.
Namespace: DevExpress.Web.Mvc
Assembly: DevExpress.Web.Mvc5.v24.2.dll
NuGet Package: DevExpress.Web.Mvc5
#Declaration
public FileManagerThumbnailCreateEventHandler CustomThumbnail { get; set; }
#Property Value
Type | Description |
---|---|
File |
An File |
#Property Paths
You can access this nested property as listed below:
Object Type | Path to Custom |
---|---|
MVCx |
|
#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.