The requested page is not available for the requested platform. You are viewing the content for Default platform.

ASPxHtmlEditor.DocumentSelectorCustomThumbnail Event

Occurs each time before a thumbnail or a folder's icon is created in Document Selector.

Namespace: DevExpress.Web.ASPxHtmlEditor

Assembly: DevExpress.Web.ASPxHtmlEditor.v19.2.dll

Declaration

public event FileManagerThumbnailCreateEventHandler DocumentSelectorCustomThumbnail
Public Event DocumentSelectorCustomThumbnail As FileManagerThumbnailCreateEventHandler

Event Data

The DocumentSelectorCustomThumbnail event handler receives an argument of the FileManagerThumbnailCreateEventArgs type. The following properties provide information specific to this event.

Property Description
File Obsolete. Gets a file related to the event.
IsParentFolder Gets a value specifying whether the currently processed item is a parent folder.
Item Gets an item related to the event.
ThumbnailImage Gets the settings of a thumbnail image.

Remarks

The DocumentSelectorCustomThumbnail event enables you to provide a custom thumbnail. Within the event's handler, 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.

To customize the Document Selector settings use the HtmlEditorInsertLinkDialogSettings.SettingsDocumentSelector property.

See Also