Skip to main content

MVCxHtmlEditorVideoSelectorSettings.ItemRenaming Property

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

Namespace: DevExpress.Web.Mvc

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

Declaration

public FileManagerItemRenameEventHandler ItemRenaming { get; set; }

Property Value

Type Description
FileManagerItemRenameEventHandler

An FileManagerItemRenameEventHandler delegate method allowing you to implement custom processing.

Property Paths

You can access this nested property as listed below:

Object Type Path to ItemRenaming
MVCxHtmlEditorInsertVideoDialogSettings
.SettingsVideoSelector .ItemRenaming

Remarks

The delegate method parameter’s FileManagerItemRenameEventArgs.Item property identifies the item that is being processed. The new name of the item can be obtained via the FileManagerItemRenameEventArgs.NewName property. To cancel the renaming operation, set the FileManagerActionEventArgsBase.Cancel property to true. To show a message explaining the reason for canceling the renaming operation, specify the FileManagerActionEventArgsBase.ErrorText property.

See Also