Skip to main content

MVCxHtmlEditorAudioSelectorSettings.ItemRenaming Property

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

Namespace: DevExpress.Web.Mvc

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

NuGet Package: DevExpress.Web.Mvc5

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
MVCxHtmlEditorInsertAudioDialogSettings
.SettingsAudioSelector .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