Skip to main content

MVCxHtmlEditorImageSelectorSettings.ItemCopying Property

Enables you to perform custom actions before an item is copied in the Image Selector, and allows you to cancel the action.

Namespace: DevExpress.Web.Mvc

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

Declaration

public FileManagerItemCopyEventHandler ItemCopying { get; set; }

Property Value

Type Description
FileManagerItemCopyEventHandler

An FileManagerItemCopyEventHandler delegate method allowing you to implement custom processing.

Property Paths

You can access this nested property as listed below:

Object Type Path to ItemCopying
MVCxHtmlEditorInsertImageDialogSettings
.SettingsImageSelector .ItemCopying

Remarks

The delegate method parameter’s FileManagerItemCopyEventArgs.Item property identifies the item that is being processed. The new location of an item can be obtained by the FileManagerItemCopyEventArgs.DestinationFolder property. To cancel the copy operation, set the FileManagerActionEventArgsBase.Cancel property to true. To show a message explaining the reason for canceling the copy operation, specify the FileManagerActionEventArgsBase.ErrorText property.

See Also